This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
// //TODO: Replace all this server code with equivalent client code
|
||||
|
||||
|
||||
//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);
|
||||
|
||||
|
||||
// namespace AyaNova.DataList
|
||||
// {
|
||||
// public static class DataListFilterSpecialToken
|
||||
|
||||
@@ -908,6 +908,8 @@ function untokenizeListView(lv) {
|
||||
if (lv.indexOf('"token":true') == -1) {
|
||||
return;
|
||||
}
|
||||
//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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user