r105383 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105382‎ | r105383 | r105384 >
Date:23:50, 6 December 2011
Author:tstarling
Status:ok
Tags:
Comment:
It looks documented to me
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -2188,7 +2188,7 @@
21892189 } elseif ( preg_match( '/^-?\d{1,13}$/D', $ts ) ) {
21902190 # TS_UNIX
21912191 $uts = $ts;
2192 - $strtime = "@$ts"; // Undocumented?
 2192+ $strtime = "@$ts"; // http://php.net/manual/en/datetime.formats.compound.php
21932193 } elseif ( preg_match( '/^\d{2}-\d{2}-\d{4} \d{2}:\d{2}:\d{2}.\d{6}$/', $ts ) ) {
21942194 # TS_ORACLE // session altered to DD-MM-YYYY HH24:MI:SS.FF6
21952195 $strtime = preg_replace( '/(\d\d)\.(\d\d)\.(\d\d)(\.(\d+))?/', "$1:$2:$3",

Status & tagging log