Folks, Due to a lack of basic Date calculations in tiddlywiki once again I return to using the days operator which accepts a date field as input, rather than a date or variable, as a result it is unclear in the documentation if the days operator honors the UTC timezone offset.
- That is if a date is set using UTC it will be set to universal time and when we make the days comparison with the actual value it will be off, in my +10 time (DST +11) zone it will be out quite a bit.
- I can not find utc in $:/core/modules/filters/days.js which defines this operator.
Actions possible once answered;
- Update the documentation to describe its use of UTC
- Possibly improve allow the days operator to handle UTC or make a UTCDays operator
- Document a work around?
[Edited] I also observe the days operator needs a number so to get all in the past you must dive a number eg [days:due[-365]]
and unfortunately the value cannot be Infinity or -Infinity