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

Commit c2c277c

Browse files
committed
Merge pull request #129 from nacmartin/patch-1
Clarify README.md
2 parents 17fdec8 + 6e5cd65 commit c2c277c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ DateTimeField
3333
| ------------ | ------- | ------- | ----------- |
3434
| **dateTime** | string | moment().format('x') | Represents the inital dateTime, this string is then parsed by moment.js |
3535
| **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 |
36+
| **inputFormat** | string | "MM/DD/YY h:mm A" | Defines the way the date is represented in the HTML input. It must be a format understanable by moment.js |
3737
| **onChange** | function | x => console.log(x) | Callback trigger when the date changes. `x` is the new datetime value. |
3838
| **showToday** | boolean | true | Highlights today's date |
3939
| **size** | string | "md" | Changes the size of the date picker input field. Sizes: "sm", "md", "lg" |

0 commit comments

Comments
 (0)