mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-24 02:40:35 +03:00
Minor grammatical fixes in README
Fixed some grammatical errors and improved capital use
This commit is contained in:
@@ -72,8 +72,8 @@ $primary-color: #1284e7;
|
|||||||
|
|
||||||
## Internationalization
|
## Internationalization
|
||||||
|
|
||||||
The default language of v3.x is English. If you need other locales.
|
The default language of v3.x is English. If you need other locales,
|
||||||
You can import locale file.
|
you can import a locale file.
|
||||||
Once you import a locale, it becomes the active locale.
|
Once you import a locale, it becomes the active locale.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
@@ -190,7 +190,7 @@ You can also override some of the default locale by `lang`.
|
|||||||
|
|
||||||
#### custom format
|
#### custom format
|
||||||
|
|
||||||
the `format` accepts an object to customize formatting.
|
The `format` accepts an object to customize formatting.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<date-picker :format="momentFormat" />
|
<date-picker :format="momentFormat" />
|
||||||
@@ -228,7 +228,7 @@ set the format of binding value
|
|||||||
|
|
||||||
#### shortcuts
|
#### shortcuts
|
||||||
|
|
||||||
the shortcuts for the range picker
|
The shortcuts for the range picker
|
||||||
|
|
||||||
```js
|
```js
|
||||||
[
|
[
|
||||||
@@ -251,7 +251,7 @@ the shortcuts for the range picker
|
|||||||
|
|
||||||
#### time-picker-options
|
#### time-picker-options
|
||||||
|
|
||||||
set fixed time list to select;
|
Set fixed time list to select;
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{start: '00:00', step:'00:30' , end: '23:30', format: 'HH:mm' }
|
{start: '00:00', step:'00:30' , end: '23:30', format: 'HH:mm' }
|
||||||
|
|||||||
Reference in New Issue
Block a user