Error: Time Zone must be a string got [object]

I’m building out an employee scheduling module into my app and I’m running into an issue using the Geographic Address field type’s Time Zone ID as a dynamic time zone when formatting the times on the calendar.

I’m getting the error that the time zone must be a string but the editor is saying that the time zone id results in a text.

Has anyone run into this issue before?

Screen Shot 2021-08-24 at 1.17.27 PM
Screen Shot 2021-08-24 at 1.17.44 PM

Have you confirmed that when this runs the Time Zone ID text is loaded on page?

My guess is the referencing is setup correctly but it is not actually loading the ID on the page which could be an empty schedule data source or another reason

When the text is loaded I get the hour + 8 minutes no matter what time it is.

ie. if the scheduled start time is 1:15 or 1:30 or 1:45 it will display 1:08. Same with 2, it’ll just show 2:08 and so on.

Here’s a sample.

I submitted a report to bubble as well so if I get a solution from them I’ll update it here.

Screen Shot 2021-08-25 at 8.38.56 AM
Screen Shot 2021-08-25 at 8.38.45 AM

This topic was automatically closed after 70 days. New replies are no longer allowed.