diff mgallery.php @ 34:e786771dfaa5

Add seconds to outputted timestamps.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 23 Apr 2016 20:14:23 +0300
parents 953b0f7636f4
children 985596db0f01
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)");
 }