* Fix bug#14935

This commit is contained in:
zenggang
2021-09-06 17:50:28 +08:00
parent 1a6a47c844
commit 968e115af3
3 changed files with 6 additions and 8 deletions
+4
View File
@@ -78,4 +78,8 @@ $(function()
$('#exchangeRate').val(exchangeRate);
$('#changeUnitTip').modal('hide');
})
/* If end is longtime, set the default date to today */
var today = $.zui.formatDate(new Date(), 'yyyy-MM-dd');
if($('#end').val() == longTime) $('#end').val(today).datetimepicker('update').val(longTime);
});