This commit is contained in:
@@ -40,6 +40,7 @@ export default {
|
|||||||
if (token == null || token.length == 0) {
|
if (token == null || token.length == 0) {
|
||||||
throw "relative-date-filter-calculator: date token is null or empty";
|
throw "relative-date-filter-calculator: date token is null or empty";
|
||||||
}
|
}
|
||||||
|
//Luxon object: window.$gz.DateTime
|
||||||
var dtStart = new Date();
|
var dtStart = new Date();
|
||||||
var dtEnd = new Date();
|
var dtEnd = new Date();
|
||||||
switch (token) {
|
switch (token) {
|
||||||
@@ -52,7 +53,7 @@ export default {
|
|||||||
|
|
||||||
//new functions above here
|
//new functions above here
|
||||||
};
|
};
|
||||||
|
//LUXON MATH: https://moment.github.io/luxon/docs/manual/zones.html#math-across-dsts
|
||||||
|
|
||||||
|
|
||||||
// //############################################################### OLD SERVER FILTERING CODE ##########################
|
// //############################################################### OLD SERVER FILTERING CODE ##########################
|
||||||
|
|||||||
Reference in New Issue
Block a user