Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -1892,7 +1892,7 @@ |
1893 | 1893 | # TS_EXIF |
1894 | 1894 | } elseif (preg_match('/^(\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/D',$ts,$da)) { |
1895 | 1895 | # TS_MW |
1896 | | - } elseif (preg_match('/^\d{1,13}$/D',$ts)) { |
| 1896 | + } elseif (preg_match('/^-?\d{1,13}$/D',$ts)) { |
1897 | 1897 | # TS_UNIX |
1898 | 1898 | $uts = $ts; |
1899 | 1899 | } elseif (preg_match('/^\d{2}-\d{2}-\d{4} \d{2}:\d{2}:\d{2}.\d{6}$/', $ts)) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -241,6 +241,7 @@ |
242 | 242 | * (bug 24076) Recognize Office 2003 files with OpenXML trailers |
243 | 243 | * (bug 24244) Updated comments in DefaultSettings.php to reflect Image: --> File: |
244 | 244 | namespace rename. |
| 245 | +* Make wfTimestamp recognize negative unix timestamp values. |
245 | 246 | |
246 | 247 | === API changes in 1.17 === |
247 | 248 | * (bug 22738) Allow filtering by action type on query=logevent. |