From b705deaf548623fc0e05cdd1a07c3c14dba6524b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 7 May 2025 07:51:48 +0100 Subject: [PATCH] Update config.md (#9638) (#9640) Added clarification on how to change the timezone correctly. The documentation -- if carefully read -- explains how to change the timezone but it can be easily missed. I also explicitly mentioned the specific variable that must be set to change the timezone from UTC (cherry picked from commit 34db1a2a491f271fc0bffa54c6257b2b0e5815eb) Co-authored-by: aluminum-ice <12374267+aluminum-ice@users.noreply.github.com> --- docs/docs/start/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/start/config.md b/docs/docs/start/config.md index 3e6d2d4588..6bd65d7950 100644 --- a/docs/docs/start/config.md +++ b/docs/docs/start/config.md @@ -75,7 +75,7 @@ The site URL is the URL that users will use to access the InvenTree server. For ### Timezone -By default, the InvenTree server is configured to use the UTC timezone. This can be adjusted to your desired local timezone. You can refer to [Wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for a list of available timezones. Use the values specified in the *TZ Identifier* column in the linked page. +By default, the InvenTree server is configured to use the UTC timezone. This can be adjusted to your desired local timezone. You can refer to [Wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for a list of available timezones. Use the values specified in the *TZ Identifier* column in the linked page. For example, to change to the United States Pacific timezone, set `INVENTREE_TIMEZONE='America/Los_Angeles'`. Date and time values are stored in the database in UTC format, and are converted to the selected timezone for display in the user interface or API.