title | redirect_from | |
---|---|---|
Timezones |
|
Metabase does its best to ensure proper and accurate reporting in whatever timezone you want. But timezones are mysterious creatures.
The following places where timezones are set can all impact the data you see:
Database
- includes global database timezone settings, specific column type settings, and even individual data values.OS & JVM
- on whatever system is running Metabase the timezone settings of the Operating System as well as the Java Virtual Machine can impact your reports.Metabase
- inside Metabase the reporting timezone setting (if set) will influence how your data is reported.Metabase Cloud
- the timezone on the server that hosts your Metabase Cloud instance.To ensure proper reporting it's important that timezones be set consistently in all places. Metabase recommends the following settings:
Report Timezone
to match the timezone you want to see your reports in, again, this should match the rest of the timezone settings you've made.You can make your database columns time zone aware by storing them as specific data types, such as:
Data type | Description | Example |
---|---|---|
timestamp with time zone |
Knows about location. | 2022-12-28T12:00:00 AT TIME ZONE 'America/Toronto' |
timestamp with offset |
Knows about the time difference from UTC. | 2022-12-28T12:00:00-04:00 |
timestamp without time zone |
No time zone info. | 2022-12-28T12:00:00 |
The exact data type will depend on your database. Some Metabase features only work with specific data types:
Report Timezone
choice. This is a very common issue and can be corrected by launching java with the -Duser.timezone=<timezone>
option properly set to match your Metabase report timezone.If you are still experiencing timezone problems, then have a look at the timezone troubleshooting guide.
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )