2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-11 17:53:00 +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 34db1a2a491f271fc0bffa54c6257b2b0e5815eb)

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,7 +75,7 @@ The site URL is the URL that users will use to access the InvenTree server. For
### Timezone ### 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. 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.