[PATCH] Fix typos in months names

Sebastian Spaeth Sebastian at SSpaeth.de
Thu Jun 2 15:34:20 BST 2011


All months names are 3-letter abbreviated, but accidentally June and
July slipped through. Thanks to the heads up by
Philipp Kern <pkern at debian.org>.

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
---
 offlineimap/folder/IMAP.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/offlineimap/folder/IMAP.py b/offlineimap/folder/IMAP.py
index b8d91c7..8dfca7a 100644
--- a/offlineimap/folder/IMAP.py
+++ b/offlineimap/folder/IMAP.py
@@ -127,7 +127,7 @@ class IMAPFolder(BaseFolder):
 
                         #format this manually - otherwise locales could cause problems
                         monthnames_standard = ["Jan", "Feb", "Mar", "Apr", "May", \
-                            "June", "July", "Aug", "Sep", "Oct", "Nov", "Dec"]
+                            "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
 
                         our_monthname = monthnames_standard[oldest_time_struct[1]-1]
                         daystr = "%(day)02d" % {'day' : oldest_time_struct[2]}
-- 
1.7.4.1





More information about the OfflineIMAP-project mailing list