2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-18 02:36:31 +00:00

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 34db1a2a49)

Co-authored-by: aluminum-ice <12374267+aluminum-ice@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-05-07 07:51:48 +01:00
committed by GitHub
parent 807694d840
commit b705deaf54

View File

@@ -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.