mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #713] [MERGED] Make sure UTC is always used internally #919
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/713
Author: @Boy132
Created: 11/15/2024
Status: ✅ Merged
Merged: 11/15/2024
Merged by: @Boy132
Base:
main← Head:fix/enforce-utc-timezone📝 Commits (5)
617e888force app timezone to be UTCee44546remove asDateTime overwrite69d8266add custom column to display dates in user timezone475d404useAPP_TIMEZONEas default timezone for new users8aef5cdrevert accidental pinting📊 Changes
7 files changed (+27 additions, -44 deletions)
View changed files
📝
app/Filament/Resources/ApiKeyResource/Pages/ListApiKeys.php(+3 -4)📝
app/Filament/Resources/DatabaseHostResource/RelationManagers/DatabasesRelationManager.php(+2 -1)📝
app/Filament/Resources/DatabaseResource/Pages/ListDatabases.php(+3 -4)📝
app/Models/Model.php(+0 -35)📝
app/Models/User.php(+2 -0)➕
app/Tables/Columns/DateTimeColumn.php(+15 -0)📝
config/app.php(+2 -0)📄 Description
The backend should always use UTC to avoid timezone problems.
On the (filament) frontend dates should be translated from UTC to the users timezone.
APP_TIMEZONEenv variable is now only used as default timezone for new users.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.