tgl filter
This commit is contained in:
@ -1611,10 +1611,10 @@
|
||||
// });
|
||||
$('#historyStartDate').on('clearFilterHistoryDate', function(e) {
|
||||
// default date today
|
||||
// State.historyStartDate = moment().startOf('day').unix();
|
||||
// State.historyEndDate = moment().endOf('day').unix();
|
||||
// $('#historyStartDate').val(moment().startOf('day').format('DD-MM-YYYY HH:mm'));
|
||||
// $('#historyEndDate').val(moment().endOf('day').format('DD-MM-YYYY HH:mm'));
|
||||
State.historyStartDate = moment().startOf('day').unix();
|
||||
State.historyEndDate = moment().endOf('day').unix();
|
||||
$('#historyStartDate').val(moment().startOf('day').format('DD-MM-YYYY HH:mm'));
|
||||
$('#historyEndDate').val(moment().endOf('day').format('DD-MM-YYYY HH:mm'));
|
||||
|
||||
// for testing purpose
|
||||
// State.historyStartDate = '1756054800';
|
||||
|
||||
Reference in New Issue
Block a user