Skip to content

Commit

Permalink
Fix readme typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brockpetrie authored Nov 30, 2017
1 parent 533e9f3 commit e0f9d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Convert the date to a certain timezone
```js
// main.js
import Vue from 'vue'
import VueMoment from 'vue-moemnt'
import VueMoment from 'vue-moment'
import moment from 'moment-timezone'

Vue.use(VueMoment, {
Expand All @@ -157,6 +157,7 @@ Vue.use(VueMoment, {

For more information about `moment#timezone`, check out <https://momentjs.com/timezone/docs/#/using-timezones/converting-to-zone/>.


## Chaining

There's some built-in (and not thoroughly tested) support for chaining, like so:
Expand All @@ -168,7 +169,6 @@ There's some built-in (and not thoroughly tested) support for chaining, like so:
This would add 2 years and 8 months to the date, then subtract 3 hours, then format the resulting date.



## Configuration

`vue-moment` should respect any global Moment customizations, including i18n locales. For more info, check out <http://momentjs.com/docs/#/customization/>.
Expand Down

0 comments on commit e0f9d7f

Please sign in to comment.