From: Tim Starling Date: Tue, 6 Dec 2011 23:50:22 +0000 (+0000) Subject: It looks documented to me X-Git-Tag: 1.31.0-rc.0~26145 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=462d1d14221c5f50bc96c05db6730a1b4becf555;p=lhc%2Fweb%2Fwiklou.git It looks documented to me --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 3167b37b07..02c6c943b9 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2188,7 +2188,7 @@ function wfTimestamp( $outputtype = TS_UNIX, $ts = 0 ) { } elseif ( preg_match( '/^-?\d{1,13}$/D', $ts ) ) { # TS_UNIX $uts = $ts; - $strtime = "@$ts"; // Undocumented? + $strtime = "@$ts"; // http://php.net/manual/en/datetime.formats.compound.php } elseif ( preg_match( '/^\d{2}-\d{2}-\d{4} \d{2}:\d{2}:\d{2}.\d{6}$/', $ts ) ) { # TS_ORACLE // session altered to DD-MM-YYYY HH24:MI:SS.FF6 $strtime = preg_replace( '/(\d\d)\.(\d\d)\.(\d\d)(\.(\d+))?/', "$1:$2:$3",