diff options
| author | ilotterytea <iltsu@alright.party> | 2025-10-06 14:17:40 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-10-06 14:17:40 +0500 |
| commit | 0971848bc3d674b0e63f4f49bd704259cd3e648a (patch) | |
| tree | 3df5f0ee6242cf75537606125adedf0e06a45a8e | |
| parent | 866a6930e141ae2c56acb0aade801440f19180c5 (diff) | |
fix: DateMalformedStringException
| -rw-r--r-- | public/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php index dd92e66..e1cfbce 100644 --- a/public/index.php +++ b/public/index.php @@ -165,7 +165,7 @@ if (FILE_CATALOG_FANCY_VIEW && $file_id) { $file['html_description'] .= " - {$file['views']} views"; } if (isset($file['uploaded_at'])) { - $file['html_description'] .= ' - Uploaded ' . format_timestamp(strtotime($file['uploaded_at'])) . ' ago'; + $file['html_description'] .= ' - Uploaded ' . format_timestamp($file['uploaded_at']) . ' ago'; } if (isset($file['resolution'])) { $file['html_description'] .= " - {$file['resolution']}"; |
