This repository was archived by the owner on Nov 16, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ DateTimeField
3131
3232| Name | Type | Default | Description |
3333| ------------ | ------- | ------- | ----------- |
34- | ** dateTime** | string | "1234567" | Represents the inital dateTime, this string is then parsed by moment.js |
35- | ** format** | string | "X " | Defines the format moment.js should use to parse and output the date to onChange |
36- | ** inputFormat** | string | "MM/DD/YY H : mm A" | Defines the way the date is represented in the HTML input |
34+ | ** dateTime** | string | moment().format('x') | Represents the inital dateTime, this string is then parsed by moment.js |
35+ | ** format** | string | "x " | Defines the format moment.js should use to parse and output the date to onChange |
36+ | ** inputFormat** | string | "MM/DD/YY h : mm A" | Defines the way the date is represented in the HTML input |
3737| ** onChange** | function | x => console.log(x) | Callback trigger when the date changes |
3838| ** showToday** | boolean | true | Highlights today's date |
3939| ** daysOfWeekDisabled** | array of integer | [ ] | Disables clicking on some days. Goes from 0 (Sunday) to 6 (Saturday). |
You can’t perform that action at this time.
0 commit comments