We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 614f928 commit 1a843dcCopy full SHA for 1a843dc
app/assets/javascripts/initialize_datetimepickers.js
@@ -7,7 +7,7 @@
7
$(datetimeElts[i]).flatpickr({
8
enableTime: true,
9
altInput: true,
10
- defaultDate: moment($(datetimeElts[i]).val()).format("MMMM D YYYY, h:mm A")
+ defaultDate: new Date(datetimeElts[i].getAttribute("value"))
11
})
12
}
13
0 commit comments