changeset 34:e786771dfaa5

Add seconds to outputted timestamps.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 23 Apr 2016 20:14:23 +0300
parents 038af45fe0f2
children 985596db0f01
files mgallery.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mgallery.php	Sat Apr 23 19:39:48 2016 +0300
+++ b/mgallery.php	Sat Apr 23 20:14:23 2016 +0300
@@ -219,7 +219,7 @@
 function mgTimeStr($str)
 {
   $tmp = date_create_from_format("Y:m:d H:i:s", $str);
-  return date_format($tmp, "d M Y (H:i)");
+  return date_format($tmp, "d M Y (H:i:s)");
 }