Ticket #4937 enhancement closed fixed
Fix for locale-dependant date formatting in imap and conch
|Reported by:||facundobatista||Owned by:||exarkun|
|Author:||cyli, facundobatista||Launchpad Bug:|
These modules had a date formatting using time.strftime() with the '%b' formatter, that is locale dependent.
So, if you run any of these in a non-English machine, you'll break a little the protocols.
As discussed in the mail list, these dates should be formatted using always the English month abbreviation.
This patch fixes that.
Also, I took the liberty to improve a little the code in conch/ls.py around the date formatting modifications (adding strings is really expensive).