Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

Commit a3a9ee9

Browse files
joshcarrchollier
authored andcommitted
updates README to reflect default props changes
1 parent 543c2e3 commit a3a9ee9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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). |

0 commit comments

Comments
 (0)