Timezones? ![]()
My goal: Fetch and display, consistently, dates and timestamps stored in Retool db
Issue: where is āmanage time zonesā? screen-snap would be GREAT. Gonna be a face palm, I can feel it coming, but dang if we can find the manage-timezone-toggle.
This page [ Getting started with date and time components | Retool Docs ] mentions:
Components that display date time values support time zone offsets. When configured, the component displays a date time value (
displayValue) to the user based on the selected offset without alteringvalueitself. Similarly, when a user selects a different date time value, this changes thedisplayValue. Retool uses the same offset to calculate the actualvalueto use.To manage time zones on these components, toggle Manage time zone in the Inspect tab of the right panel. The demo app below shows the difference in how date and time values appear when using managed and unmanaged time zones. Each component has the same underlying value.
The āInspectā flyout is rather obvious... But where is the toggle āManage Time Zoneā in āthe inspect tab of the right panel?ā
Steps I've taken to troubleshoot: searching retool forums, searching google, searching youtube, looking for any screenshot to show where āmanage time zoneā might be. The table-component doesnāt seem to have any time-zone features in āinspectā and the timestamp column itself, doesnāt either.
When we insert a new record, or update an existing one, in the native Retool postgres db, we use ācurrent_timestampā. Then when we bring that idata nto a Retool component for display, sometimes itās timezone-shifted implying UTC-to-CDT conversion, sometimes itās not. We are hoping that the āmanage time zoneā feature might help.
As a workaround, we can change the display-type to āTextā and then use javascript mapping to display things in the time zone we want. But itād be more integrated if we could use a Retool-savvy feature instead!
Additional info: Cloud hosted, enterprise


