This commit is contained in:
2020-03-04 00:34:03 +00:00
parent f770fb3a86
commit 0ae8016995

View File

@@ -47,8 +47,10 @@ export default {
//and iso8601 format
var ret = { after: undefined, before: undefined };
var dtStart = new Date();
var dtEnd = new Date();
var dtStart = window.$gz.DateTime.local()
.toUTC()
.toString();
var dtEnd = window.$gz.DateTime.local().toString();
switch (token) {
case "*yesterday*":
//Between Day before yesterday at midnight and yesterday at midnight