From 1d9fe3069288f6aa079c58b6844a41a7d53a9467 Mon Sep 17 00:00:00 2001 From: Yuriy Evdokimov Date: Fri, 7 Apr 2017 17:10:01 +0500 Subject: [PATCH] captured time in info panel --- php/Modules/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/Modules/Photo.php b/php/Modules/Photo.php index 59beb77..f7fc665 100755 --- a/php/Modules/Photo.php +++ b/php/Modules/Photo.php @@ -709,7 +709,7 @@ final class Photo { // Parse photo $photo['sysdate'] = strftime('%d %b. %Y', substr($photo['id'], 0, -4)); - if (strlen($photo['takestamp'])>1) $photo['takedate'] = strftime('%d %b. %Y', $photo['takestamp']); + if (strlen($photo['takestamp'])>1) $photo['takedate'] = strftime('%d %b. %Y %T', $photo['takestamp']); // Parse medium if ($photo['medium']==='1') $photo['medium'] = LYCHEE_URL_UPLOADS_MEDIUM . $photo['url'];