Commit graph

12 commits

Author SHA1 Message Date
Florent
8a2a1ece5e Do not always import module used only in debug mode 2014-07-09 10:23:24 +02:00
Laurent Bachelier
d56dff061d Fix French date replacements
Otherwise, "janvier" got me "januaryary".
2014-05-27 15:40:42 +02:00
Laurent Bachelier
aa72812b36 date tools: class methods to convert date[time] objects 2014-05-26 20:07:41 +02:00
Bezleputh
644f1ed4b0 [dates] add more french date translations 2014-05-22 15:17:00 +02:00
Vincent Paredes
158efcded0 adding ChaoticDateGuesser when you know an interval 2014-02-26 18:37:52 +01:00
Bezleputh
f21b5defb6 [boobcoming] move parse_date to weboob/tools/date.py 2013-12-15 16:10:10 +01:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Noé Rubinstein
539eceef2e weboob.tools.date: add parse_french_date 2013-07-26 22:56:09 +02:00
Laurent Bachelier
5621107ee2 Fix alignment to 4 spaces 2013-04-03 19:04:56 +02:00
Romain Bignon
59dea09c8a fix problem with strftime on date.year<1900 2013-03-30 12:30:33 +01:00
Laurent Bachelier
79769265cf fix pyflakes/flake8 issue
date is imported as a module, avoid using it as a variable.
also PEP8 fix.
2013-02-10 20:17:27 +01:00
Romain Bignon
5f78a99c5b create DateGuesser extracted from cragr
it also moves utc2local and local2utc functions into date.py
2013-02-08 14:17:08 +01:00