|
5 | 5 |
|
6 | 6 | [moment.js](http://momentjs.com) template helpers and computed property macros for Ember
|
7 | 7 |
|
| 8 | +## Table of Contents |
| 9 | + |
| 10 | +<!-- toc --> |
| 11 | +- [Installing](#installing) |
| 12 | +- [Upgrading](#upgrading) |
| 13 | +- [Usage](#usage) |
| 14 | +- [Computed Property Macros](#computed-property-macros) |
| 15 | +- [Helpers](#helpers) |
| 16 | + * [moment](#moment) |
| 17 | + * [utc](#utc) |
| 18 | + * [moment-format](#moment-format) |
| 19 | + * [moment-from / moment-from-now](#moment-from--moment-from-now) |
| 20 | + * [moment-to / moment-to-now](#moment-to--moment-to-now) |
| 21 | + * [moment-duration](#moment-duration) |
| 22 | + * [moment-calendar](#moment-calendar) |
| 23 | + * [moment-diff](#moment-diff) |
| 24 | + * [is-before / is-after / is-same / is-same-or-before / is-same-or-after](#is-before--is-after--is-same--is-same-or-before--is-same-or-after) |
| 25 | + * [is-between](#is-between) |
| 26 | + * [now](#now) |
| 27 | + * [unix](#unix) |
| 28 | + * [Common optional named arguments](#common-optional-named-arguments) |
| 29 | +- [ES6 Moment](#es6-moment) |
| 30 | +- [Configuration Options](#configuration-options) |
| 31 | + * [Include Moment Timezone](#include-moment-timezone) |
| 32 | + * [Global Default Output Format](#global-default-output-format) |
| 33 | + * [Global Allow Empty Dates](#global-allow-empty-dates) |
| 34 | + * [i18n support](#i18n-support) |
| 35 | + + [Cherry pick locales (optimal)](#cherry-pick-locales-optimal) |
| 36 | + + [Include all locales into build](#include-all-locales-into-build) |
| 37 | + + [Write all the locales to a folder relative to `dist`](#write-all-the-locales-to-a-folder-relative-to-dist) |
| 38 | + * [Configure default runtime locale/timeZone](#configure-default-runtime-localetimezone) |
| 39 | + + [Globally set locale](#globally-set-locale) |
| 40 | + + [Globally set time zone](#globally-set-time-zone) |
| 41 | +- [Frequently Asked Questions](#frequently-asked-questions) |
| 42 | +- [Development](#development) |
| 43 | +- [Running Tests](#running-tests) |
| 44 | +- [Building](#building) |
| 45 | +<!-- tocstop --> |
| 46 | + |
8 | 47 | ## Installing
|
9 | 48 |
|
10 | 49 | `ember install ember-moment`
|
@@ -479,25 +518,6 @@ If you are knowingly passing null, undefined, or an empty string and want to ign
|
479 | 518 | {{moment-format '' allow-empty=true}} {{!-- <nothing> --}}
|
480 | 519 | ````
|
481 | 520 |
|
482 |
| -## Development |
483 |
| - |
484 |
| -* `git clone` this repository |
485 |
| -* `npm install` |
486 |
| -* `bower install` |
487 |
| -* `ember server` |
488 |
| -* Visit your app at http://localhost:4200. |
489 |
| - |
490 |
| -## Running Tests |
491 |
| - |
492 |
| -* `ember test` |
493 |
| -* `ember test --server` |
494 |
| - |
495 |
| -## Building |
496 |
| - |
497 |
| -* `ember build` |
498 |
| - |
499 |
| -For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/). |
500 |
| - |
501 | 521 | [npm]: https://www.npmjs.org/package/ember-moment
|
502 | 522 | [npm-badge]: https://img.shields.io/npm/v/ember-moment.svg?style=flat-square
|
503 | 523 | [travis]: https://travis-ci.org/stefanpenner/ember-moment
|
|
0 commit comments