Bug #8104: IMAP dates require full year representation
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 20 Apr 2009 19:36:28 +0000 (13:36 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 20 Apr 2009 19:36:35 +0000 (13:36 -0600)
framework/Imap_Client/lib/Horde/Imap/Client/Search/Query.php

index e960eb6..b798da4 100644 (file)
@@ -429,7 +429,7 @@ class Horde_Imap_Client_Search_Query
             $this->_search['date'] = array();
         }
         $this->_search['date'][$header ? 'header' : 'internal'] = array(
-            'date' => $date->format('d-M-y'),
+            'date' => $date->format('d-M-Y'),
             'range' => $range,
             'not' => $not
         );