As you’ve noted, the problem was caused by EvanBalster’s FormulaPlugin. But it wasn’t caused the “off-by-one” date handling.
Rather, it was the existence of $:/plugins/ebalster/formula/filters/range.js
which was overriding the TWCore range[]
filter operator. The difference was that the range[]
operator defined by FormulaPlugin was 0-based, while the range[]
operator in the TWCore is 1-based.
Thus, in my Calendar’s showgrid()
macro, where I use <$list filter="[range<dm>]" variable="dd">
to generate the dates in the monthly calendar grid display, Evan’s code added an extra “0” day to each month.
Fortunately, it appears that the most recent revision of FormulaPlugin (v0.2.5 - 3rd February 2018) no longer defines a custom range.js
filter, so it doesn’t break usage of the TWCore range[]
filter operator and thus allows proper functioning of TiddlyTools/Time/Calendar.
YAY!
-e