v4.3.3-cvs
----------
+[mms] Workaround obsolete 'UT' date format (Request #5717).
[mms] Fix tracking folder changes when renaming (Bug #7772).
[cjh] Suppress browser autocomplete when redirecting messages (Bug #7767).
try {
$d = new DateTime($date);
} catch (Exception $e) {
- return _("Unknown Date");
+ /* Bug #5717 - Check for UT vs. UTC. */
+ if (substr(rtrim($date), -3) != ' UT') {
+ return _("Unknown Date");
+ }
+ try {
+ $d = new DateTime($date . 'C');
+ } catch (Exception $e) {
+ return _("Unknown Date");
+ }
}
$udate = $d->format('U');