krzysztof1980 / jwktl

Automatically exported from code.google.com/p/jwktl
0 stars 0 forks source link

Dump parser is timezone dependent #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Timestamp parsing in WiktionaryDumpParser is currently timezone dependent. When 
the code is executed on a non-UTC system the output will be wrong.

The attached patch fixes this and also makes the tests timezone independent.

cf. 
https://bitbucket.org/jberkel/jwktl/commits/3bf75f7fd67c619c027f7fb575e34f997a22
54b6

Original issue reported on code.google.com by jan.ber...@gmail.com on 18 Nov 2014 at 1:06

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by chmeyer.de on 5 Dec 2014 at 4:21