aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-02-03 08:18:38 +0000
committerplegall <plg@piwigo.org>2011-02-03 08:18:38 +0000
commit1dc5c7ccfdba5f6177eeb7b9a5d10e9135ffabe8 (patch)
tree7659132c7e2b86e5f05b05648f2107bf85e75dad /picture.php
parent34538ef9e81052eb03c8a6859735e1cd895d1c80 (diff)
bug 270 fixed: (yes "270", submitted in 2006), time (hour:minute:second) added
in the date_creation field and in the synchronization from EXIF metadata. git-svn-id: http://piwigo.org/svn/trunk@9073 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index becfb6dde..5e58bba9a 100644
--- a/picture.php
+++ b/picture.php
@@ -859,7 +859,7 @@ if (!empty($picture['current']['date_creation']))
'chronology_field'=>'created',
'chronology_style'=>'monthly',
'chronology_view'=>'list',
- 'chronology_date' => explode('-', $picture['current']['date_creation'])
+ 'chronology_date' => explode('-', substr($picture['current']['date_creation'], 0, 10))
)
);
$infos['INFO_CREATION_DATE'] =