balala wrote: ↑September 4th, 2020, 5:44 pm Hi everybody,
Now it's my turn again to ask something. I have the following extremely simple Time measure:If I add a TimeZone=0 option, I get the current UTC time. This does work.Code: Select all
[MeasureTime] Measure=Time Format=%H:%M
If I add any valid numeric value to the TimeZone option (eg TimeZone=2 or TimeZone=-5) I get the appropriate time. With TimeZone=local I get the local time. All this are workign as well.
But if I add any (let's say) invalid string (for instance TimeZone=locale or TimeZone=Whatever), I get the time as for TimeZone=0, not my current local time. This seems a little bit intricating, because as far as I know if an invalid value has been used, the measure should use the default value, which in this case should be TimeZone=local.
Where is the mistake?
Thanks in advance.
Hi balala. I think that in the source code of the TIME measure there is no provision for the insertion of a wrong option. Or for any value other than "local" option 0 is indicated as the default.