captured time in info panel

This commit is contained in:
Yuriy Evdokimov 2017-04-07 17:10:01 +05:00
parent 27f207dcba
commit 1d9fe30692

View File

@ -709,7 +709,7 @@ final class Photo {
// Parse photo // Parse photo
$photo['sysdate'] = strftime('%d %b. %Y', substr($photo['id'], 0, -4)); $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 // Parse medium
if ($photo['medium']==='1') $photo['medium'] = LYCHEE_URL_UPLOADS_MEDIUM . $photo['url']; if ($photo['medium']==='1') $photo['medium'] = LYCHEE_URL_UPLOADS_MEDIUM . $photo['url'];