Skip to content

Commit

Permalink
Merge branch 'adopted-ember-addons:master' into embroider-update
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp authored Jun 24, 2024
2 parents 589aa91 + b3ad8be commit e605ebb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
28 changes: 11 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,11 @@

[moment.js](http://momentjs.com) template helpers for Ember.js

## Compatibility

* Ember.js v3.16 or above
* Ember CLI v2.13 or above
* Node.js v10 or above
* ember-auto-import 2.0 or above

## Table of Contents


<!-- toc -->
- [Compatibility](#compatibility)
- [Using Moment.js in Ember Apps & Addons](#using-momentjs-in-ember-apps--addons)
- [Installing](#installing)
- [Controlling Locale and Timezone Data](#controlling-locale-and-timezone-data)
- [Installing or Upgrading ember-moment](#installing-or-upgrading-ember-moment)
- [Usage](#usage)
- [Helpers](#helpers)
- [moment](#moment)
Expand All @@ -35,22 +27,24 @@
- [now](#now)
- [unix](#unix)
- [Common optional named arguments](#common-optional-named-arguments)
- [ES6 Moment](#es6-moment)
- [Configuration Options](#configuration-options)
- [Include Moment Timezone](#include-moment-timezone)
- [Global Default Output Format](#global-default-output-format)
- [Global Allow Empty Dates](#global-allow-empty-dates)
- [i18n support](#i18n-support)
- [Cherry pick locales (optimal)](#cherry-pick-locales-optimal)
- [Include all locales into build](#include-all-locales-into-build)
- [Write all the locales to a folder relative to `dist`](#write-all-the-locales-to-a-folder-relative-to-dist)
- [Configure default runtime locale/timeZone](#configure-default-runtime-localetimezone)
- [Globally set locale](#globally-set-locale)
- [Globally set time zone](#globally-set-time-zone)
- [Frequently Asked Questions](#frequently-asked-questions)
- [Contributing](#contributing)
- [Docs to add](#docs-to-add)
<!-- tocstop -->

## Compatibility

* Ember.js v3.16 or above
* Ember CLI v2.13 or above
* Node.js v10 or above
* ember-auto-import 2.0 or above

## Using Moment.js in Ember Apps & Addons

This addon provides Ember-specific Helpers and a Service that make it convenient to use Moment.js in your templates. If you just want to call Moment.js directly from Javascript, you don't need this addon.
Expand Down
2 changes: 1 addition & 1 deletion test-app/tests/integration/moment-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module('moment', function (hooks) {
assert.dom(this.element).hasText('in a day');
});

test('moment and monent-format helper integration #2', async function (assert) {
test('moment and moment-format helper integration #2', async function (assert) {
assert.expect(1);

this.setProperties({
Expand Down

0 comments on commit e605ebb

Please sign in to comment.