Resurrecting this thread...
I use the following MeasureWhen the calendar goes 1 day past #EventDateTime2#, the meter displays the date/time as all zeros and generates this Parsing error: %Y-%m-%d %H:%M:%S (Win10\Calendar\Calendar (L).ini - [mEventTime2])
Commenting out this line: Substitute="^(\d{4})(.+)$":"[mYear]\2"
AND
Removing ; from this line: ;Substitute="^(\d{4})(.+)$":"[mNextYear]\2"
Fixes the issue until the next year rolls around.
I have tried using IfCondition by adding the following code to the measure, but it doesn't work with strings.
How can I make this work?
I use the following Measure
Code:
[mEventTimeRecur2]Measure=STRINGString=#EventDateTime2#RegExpSubstitute=1;Substitute="^(\d{4})(.+)$":"[mNextYear]\2"Substitute="^(\d{4})(.+)$":"[mYear]\2"DynamicVariables=1
Commenting out this line: Substitute="^(\d{4})(.+)$":"[mYear]\2"
AND
Removing ; from this line: ;Substitute="^(\d{4})(.+)$":"[mNextYear]\2"
Fixes the issue until the next year rolls around.
I have tried using IfCondition by adding the following code to the measure, but it doesn't work with strings.
Code:
IfConditionMode=1IfCondition=(mDay > 10) && (mMonth > 9)IfTrueAction=[Substitute="^(\d{4})(.+)$":"[mNextYear]\2"]IfFalseAction=[Substitute="^(\d{4})(.+)$":"[mYear]\2"]
Statistics: Posted by cwfrizzell — Today, 2:37 am