Commit graph

23 commits

Author SHA1 Message Date
smurail
f653b2f531 parse french date with DMY order by default 2015-04-28 15:18:23 +02:00
Bezleputh
2a5a1c3fcd [Date] Add a twitter translation for february 2015-02-06 08:54:40 +01:00
Jean-Philippe Dutreve
e5e745d2da Extend the delay to 31 days (instead of 7) for date_max_bump of several DateGuesser.
Signed-off-by: Jean-Philippe Dutreve <jdutreve@winancial.com>
2015-01-26 08:23:07 +01:00
Bezleputh
4d6fba9e7a [Date] Add a translation for january 2015-01-02 09:21:35 +01:00
Vincent Paredes
76555238dc fixing month replacing twice 2014-11-05 16:17:29 +01:00
Vincent Paredes
4d2ff7b094 supporting french month abbreviation without dot 2014-11-04 13:58:10 +01:00
Oleg Plakhotniuk
d7acf211bd American amount to decimal conversion; PDF decompression function; regexp-based tokenizer. Part of #1641 2014-10-13 04:23:05 -05:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Romain Bignon
6a3c9c78f9 parse_french_date: understand "aoû" 2014-09-02 16:54:14 +02:00
Bezleputh
a923f14172 [date] add sept. in french translation 2014-09-02 11:30:12 +02:00
Florent
20ffb6ca08 Revert part of "import module used only in debug mode"
Since the date are now not always imported, it does not make a lot of
sense to not import all date utils
2014-07-09 12:01:35 +02:00
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