2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-05 15:32:26 +03:00

Update README.md

Typo fixed.
This commit is contained in:
Ergashev Adizbek
2020-01-03 15:03:23 +05:00
committed by GitHub
parent 07cdb8c3fa
commit 85a6ccc1b7
+2 -2
View File
@@ -193,14 +193,14 @@ You can also override some of the default locale by `lang`.
the `format` accepts an object to customize formatting.
```html
<date-picker :format="momentForamt" />
<date-picker :format="momentFormat" />
```
```js
data() {
return {
// Use moment.js instead of the default
momentForamt: {
momentFormat: {
// Date to String
stringify: (date) => {
return date ? moment(date).format('LL') : ''