Post

Timezone anomalies due to Daylight Saving Time can be ignored.

Fresns is a software that supports cross timezone services, and uses the #UTC timezone standard for consistency of time values.

Due to the framework, the configuration file .env DB_TIMEZONE time zone option can only be aligned with the PHP time zone function, which is region-named.

But the time zone used in the program is the UTC time zone calculated from the database time, so if your DB_TIMEZONE time zone region is #DaylightSavingTime , then the backend dashboard will report an error, as long as you are sure that the configuration is correct, you can just ignore it.

For example, take #LosAngeles as an example

Your database timezone is Los Angeles time, and you've configured Los Angeles DB_TIMEZONE=America/Los_Angeles in .env.

Although Los Angeles is in the UTC -8 time zone (West 8), since Los Angeles still maintains Daylight Saving Time, Los Angeles is currently in Daylight Saving Time, and UTC is in the -7 time zone, so the database time zone is calculated as UTC -7.

But the data mapping has Los Angeles written dead as UTC -8 (West 8), so it will cause the two to be inconsistent, and the dashboard will prompt.

This situation can be simply ignored as long as you configure it correctly. All regions that keep "Daylight Saving Time" will have the same issue, so I hope you are aware of it.

timezone.png
https://discuss.fresns.org/post/h8ZIjVAZ

未登录无法操作

Comment 0

列表为空,暂无内容