From c3f1f7ea478f9d8725a6ae84509da481b9c767f1 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Fri, 1 Jul 2016 00:39:40 +0200 Subject: [PATCH] pict-converter now export datetime correctly (some pictures don't have right datetime in exif, why ? --- www/pict-converter.sh | 6 ++--- www/public_html/index.php | 2 +- www/public_html/js/dist/script.min.js | 5 ++-- www/public_html/js/script.js | 37 +++++++++++++++++---------- 4 files changed, 30 insertions(+), 20 deletions(-) diff --git a/www/pict-converter.sh b/www/pict-converter.sh index 6cdaa8e..d0f92c0 100755 --- a/www/pict-converter.sh +++ b/www/pict-converter.sh @@ -53,9 +53,9 @@ function convert { # SRC src="${pict/public_html\/pictures\//}" # TIME - time="${pict/public_html\/pictures\/hehe-/}" - time="${time/.jpg/}" - # time=`exiftool 2>/dev/null -S --DateTimeOriginal -p '$DateTimeOriginal' -d %Y/%m/%d-%T "$pict"` + # time="${pict/public_html\/pictures\/hehe-/}" + # time="${time/.jpg/}" + time=`exiftool 2>/dev/null -S --DateTimeOriginal -p '$DateTimeOriginal' -d %Y-%m-%dT%T "$pict"` # GPS gps=`exiftool 2>/dev/null -n -p '$GPSLatitude,$GPSLongitude' $pict` diff --git a/www/public_html/index.php b/www/public_html/index.php index b0d9b89..f5413fd 100644 --- a/www/public_html/index.php +++ b/www/public_html/index.php @@ -14,7 +14,7 @@

Lot Explorer

-