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

Commit 543c2e3

Browse files
joshcarrchollier
authored andcommitted
updates default field inputFormat prop to use 12 hour clock since we include Post or ante meridiem
1 parent 491432e commit 543c2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DateTimeField.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ DateTimeField = React.createClass({
1919
return {
2020
dateTime: moment().format('x'),
2121
format: 'x',
22-
inputFormat: "MM/DD/YY H:mm A",
22+
inputFormat: "MM/DD/YY h:mm A",
2323
showToday: true,
2424
viewMode: 'days',
2525
daysOfWeekDisabled: [],

0 commit comments

Comments
 (0)