Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions guides/developer/timezones.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,16 @@ This is a server-wide setting - it applies to all users and all projects on the

### Per-user query timezone

There is currently no way for individual users to set their own timezone for query calculations. This is one of the most requested timezone features and is being tracked internally.
There is currently no way for individual users to set their own timezone for query calculations. This is one of the most requested timezone features - if this is important to you, upvote or comment on these open GitHub issues:

- [I want to be able to enable user-specific time zones (#5923)](https://github.com/lightdash/lightdash/issues/5923)
- [I want to see timestamps in my local timezone rather than in UTC (#2921)](https://github.com/lightdash/lightdash/issues/2921)

### Per-chart timezone picker

There is currently no UI to select a timezone when building a query in the Explore view or on a saved chart.
There is currently no UI to select a timezone when building a query in the Explore view or on a saved chart. If you'd like to see this feature, upvote or comment on the open GitHub issue:

- [I want to change the time zone of a saved chart or dashboard (#4086)](https://github.com/lightdash/lightdash/issues/4086)

## Common timezone issues and workarounds

Expand Down Expand Up @@ -98,6 +103,8 @@ If your timestamps are stored in a local timezone (e.g., US Pacific Time) withou
- **Cast to date in dbt:** If you only need day-level granularity, cast to `date` type in your dbt model to remove the time component entirely (see the example above).
- **Set `LIGHTDASH_QUERY_TIMEZONE`:** Set `LIGHTDASH_QUERY_TIMEZONE` to match the timezone your data is stored in. Available for self-hosted instances, or contact us for Lightdash Cloud (Pro/Enterprise).

Better support for non-UTC timestamps is being tracked in [Handle `ntz` timestamps and timestamps with a non-UTC timezone correctly (#7010)](https://github.com/lightdash/lightdash/issues/7010) - upvote or comment if this affects you.

### Timestamps are stored in UTC but you want to view them in a local timezone

If your data is stored in UTC but you want to display it in a specific timezone (e.g., Eastern Time), you can use [additional dimensions](/references/dimensions#additional-dimensions) to create timezone-converted versions of a timestamp:
Expand Down