Revision: 7973 Author: misza13 Date: 2010-02-28 16:06:08 +0000 (Sun, 28 Feb 2010)
Log Message: ----------- Added two new timestamp formats
Modified Paths: -------------- trunk/pywikipedia/archivebot.py
Modified: trunk/pywikipedia/archivebot.py =================================================================== --- trunk/pywikipedia/archivebot.py 2010-02-27 10:13:26 UTC (rev 7972) +++ trunk/pywikipedia/archivebot.py 2010-02-28 16:06:08 UTC (rev 7973) @@ -333,8 +333,12 @@ if not TIME: TIME = txt2timestamp(TM.group(0),"%H:%M, %b %d %Y (%Z)") if not TIME: + TIME = txt2timestamp(TM.group(0),"%H:%M, %B %d %Y (%Z)") + if not TIME: TIME = txt2timestamp(TM.group(0),"%H:%M, %b %d, %Y (%Z)") if not TIME: + TIME = txt2timestamp(TM.group(0),"%H:%M, %B %d, %Y (%Z)") + if not TIME: TIME = txt2timestamp(TM.group(0),"%d. %Bta %Y kello %H.%M (%Z)") if not TIME: TIME = txt2timestamp(TM.group(0),"%H:%M, %d. %b. %Y (%Z)")
pywikipedia-svn@lists.wikimedia.org