From: Ævar Arnfjörð Bjarmason Date: Sun, 8 May 2005 16:08:04 +0000 (+0000) Subject: * Added a comment to the Exif part of wfTimestamp() X-Git-Tag: 1.5.0alpha2~259 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=778ad6abb3b9802f58fb451ce0895ea923619c81;p=lhc%2Fweb%2Fwiklou.git * Added a comment to the Exif part of wfTimestamp() --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index b52f91cbd4..56151906b1 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1084,6 +1084,7 @@ function wfTimestamp($outputtype=TS_UNIX,$ts=0) { $uts=gmmktime((int)$da[4],(int)$da[5],(int)$da[6], (int)$da[2],(int)$da[3],(int)$da[1]); } elseif (preg_match("/^(\d{4}):(\d\d):(\d\d) (\d\d):(\d\d):(\d\d)$/",$ts,$da)) { + # TS_EXIF $uts=gmmktime((int)$da[4],(int)$da[5],(int)$da[6], (int)$da[2],(int)$da[3],(int)$da[1]); } elseif (preg_match("/^(\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/",$ts,$da)) {