mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 13:35:23 +02:00
fix: use mtime
instead of ctime
for backup dates (#1461)
This commit is contained in:
parent
c05e048b65
commit
2f7ff6d178
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class AdminBackupController(BaseAdminController):
|
|||
imports = []
|
||||
for archive in app_dirs.BACKUP_DIR.glob("*.zip"):
|
||||
backup = BackupFile(
|
||||
name=archive.name, date=archive.stat().st_ctime, size=pretty_size(archive.stat().st_size)
|
||||
name=archive.name, date=archive.stat().st_mtime, size=pretty_size(archive.stat().st_size)
|
||||
)
|
||||
imports.append(backup)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue