fixed undefined timestamp
This commit is contained in:
parent
7c1e00e7f5
commit
735d1c3bce
1 changed files with 1 additions and 0 deletions
|
|
@ -280,6 +280,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// set timestamp when DateTimePicker changes
|
// set timestamp when DateTimePicker changes
|
||||||
|
timestamp = new moment().unix();
|
||||||
$('#datetime').on("dp.change", function() {
|
$('#datetime').on("dp.change", function() {
|
||||||
timestamp = $(this).data("DateTimePicker").date().utc().unix();
|
timestamp = $(this).data("DateTimePicker").date().utc().unix();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue