[PR #757] [MERGED] Fix timezone for file timestamps #948

Closed
opened 2026-02-04 19:04:55 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: fix/file-timezone


📝 Commits (1)

  • 3f6cdea fix 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/Berlin system timezone.
Before:
grafik

After:
grafik


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

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/757 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 12/3/2024 **Status:** ✅ Merged **Merged:** 12/3/2024 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `fix/file-timezone` --- ### 📝 Commits (1) - [`3f6cdea`](https://github.com/pelican-dev/panel/commit/3f6cdeae45b88a1fa599a380cb5f2b2d98ea548e) fix timezone for file timestamps ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `app/Models/File.php` (+2 -2) </details> ### 📄 Description Make sure the file timestamps are stored as UTC so they can be translated to the user timezone correctly. _Example with `Europe/Berlin` system timezone._ Before: ![grafik](https://github.com/user-attachments/assets/895d0c49-7c62-41b3-ae76-f0947e4e593e) After: ![grafik](https://github.com/user-attachments/assets/b2615e4c-423d-4251-94fa-927bdc7176f8) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 19:04:55 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#948