Looking for some help from any Bubble date
wizards out there.
When I extract the z suffix (Zulu time) of a Bubble date
value I get 2 different values for a single time zone (Tested with Tokyo & Bali and both had this issue, I am sure there are others):
Editor view which shows the result I expect to get using the z suffix of GMT+0900:
Run time view of what actually happens:
GMT returns properly when the :Formatted as time zone setting is ‘User’s current time zone’, but it returns the abbreviated code when ‘Time zone selection’ it is a dynamic or static value.
Additionally, for a time zone like CST timezone, it shows both z values as ‘CST’, instead of GMT-0600 and CST in the editor:
And in Run mode both show up as this:
There must be a bug with the first values not being consistent for certain time zones. But there also seems to be an issue with the abbreviation being returned in some instances instead of Zulu time that is expected by the z suffix value.
Am I crazy or does there seem to be a bug here?
Or even better for my specific eventual use case, does someone know how to consistently get the Zulu time zone (offset) of a Bubble date for a specific Time zone ID (not just current browser) without the use of an API?
*Tagging @keith because I know you have dug into this more than anybody else and also @josh @emmanuel in case there are some skeletons in the closet around ISO Date parsing