This commit is contained in:
@@ -320,6 +320,8 @@
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/* Xeslint-disable */
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
import relativeDatefilterCalculator from "../api/relative-date-filter-calculator.js";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -897,6 +899,16 @@ function loadFormSettings(vm) {
|
||||
}
|
||||
}
|
||||
|
||||
/*//EXAMPLE FROM INTEGRATION TEST OF BETWEEN TWO DATES
|
||||
// dynamic fitem = new JObject();
|
||||
// fitem.op = Util.OpGreaterThanOrEqualTo;
|
||||
// fitem.value = new DateTime(2019, 3, 12, 10, 0, 0).ToOffsetAdjustedUniversalTime();
|
||||
// items.Add(fitem);
|
||||
|
||||
// fitem = new JObject();
|
||||
// fitem.op = Util.OpLessThanOrEqualTo;
|
||||
// fitem.value = new DateTime(2019, 3, 12, 11, 0, 0).ToOffsetAdjustedUniversalTime();
|
||||
// items.Add(fitem); */
|
||||
////////////////////
|
||||
//
|
||||
function untokenizeListView(lv) {
|
||||
@@ -911,6 +923,8 @@ function untokenizeListView(lv) {
|
||||
//it has one or more tokens
|
||||
//iterate the array and build a new array with substituted tokens with the correct date and time in them
|
||||
console.log(lv);
|
||||
console.log(JSON.parse(lv));
|
||||
//console.log(JSON.parse(lv));
|
||||
console.log("test:yesterday");
|
||||
console.log(relativeDatefilterCalculator.tokenToDates("*yesterday*"));
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user