Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -1715,9 +1715,9 @@ |
1716 | 1716 | str_replace("+00:00", "UTC", $ts))); |
1717 | 1717 | } elseif (preg_match('/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})Z$/', $ts, $da)) { |
1718 | 1718 | # TS_ISO_8601 |
1719 | | - } elseif (preg_match('/^(\d{4})\-(\d\d)\-(\d\d) (\d\d):(\d\d):(\d\d)[\+\- ](\d\d)$/',$ts,$da)) { |
| 1719 | + } elseif (preg_match('/^(\d{4})\-(\d\d)\-(\d\d) (\d\d):(\d\d):(\d\d)\.*\d*[\+\- ](\d\d)$/',$ts,$da)) { |
1720 | 1720 | # TS_POSTGRES |
1721 | | - } elseif (preg_match('/^(\d{4})\-(\d\d)\-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/',$ts,$da)) { |
| 1721 | + } elseif (preg_match('/^(\d{4})\-(\d\d)\-(\d\d) (\d\d):(\d\d):(\d\d)\.*\d* GMT$/',$ts,$da)) { |
1722 | 1722 | # TS_POSTGRES |
1723 | 1723 | } else { |
1724 | 1724 | # Bogus value; fall back to the epoch... |