http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9188
Revision: 9188 Author: xqt Date: 2011-04-20 16:02:00 +0000 (Wed, 20 Apr 2011) Log Message: ----------- Fix for long month names reported by Bin?\195?\161ris. Thanks!
Modified Paths: -------------- trunk/pywikipedia/archivebot.py
Modified: trunk/pywikipedia/archivebot.py =================================================================== --- trunk/pywikipedia/archivebot.py 2011-04-20 15:50:26 UTC (rev 9187) +++ trunk/pywikipedia/archivebot.py 2011-04-20 16:02:00 UTC (rev 9188) @@ -216,7 +216,7 @@ """Returns the locale's full name of month 'num' (1-12).""" if hasattr(locale, 'nl_langinfo'): return locale.nl_langinfo(locale.MON_1+num-1).decode('utf-8') - Months = ['january', 'february', 'march', 'april', 'may', 'june', + Months = ['january', 'february', 'march', 'april', 'may_long', 'june', 'july', 'august', 'september', 'october', 'november', 'december'] return Site.mediawiki_message(Months[num-1])
pywikipedia-svn@lists.wikimedia.org