mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
[PR #757] [MERGED] Fix timezone for file timestamps #948
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/757
Author: @Boy132
Created: 12/3/2024
Status: ✅ Merged
Merged: 12/3/2024
Merged by: @Boy132
Base:
main← Head:fix/file-timezone📝 Commits (1)
3f6cdeafix timezone for file timestamps📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
app/Models/File.php(+2 -2)📄 Description
Make sure the file timestamps are stored as UTC so they can be translated to the user timezone correctly.
Example with

Europe/Berlinsystem timezone.Before:
After:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.