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

Commit 491432e

Browse files
joshcarrchollier
authored andcommitted
updates default field dateTime prop to use "now"
1 parent 3c727ed commit 491432e

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
@@ -17,7 +17,7 @@ DateTimeField = React.createClass({
1717
},
1818
getDefaultProps: function() {
1919
return {
20-
dateTime: "1234567",
20+
dateTime: moment().format('x'),
2121
format: 'x',
2222
inputFormat: "MM/DD/YY H:mm A",
2323
showToday: true,

0 commit comments

Comments
 (0)