-
Notifications
You must be signed in to change notification settings - Fork 306
generic csv parser: timezone correction #461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I just discovered the generic parser choose to convert the date by himself... Question: Is there a reason why this information is change? I don't want it. UTC is fine for the storage. And remark on this topic, use format like +10:00, -8 does not work in most of European country when there is a change time summer/winter. |
Yeah, depends on your local time zone. Does setting the env variable
it should also be possible to use the names like |
Yes it is better with the env variable. I realize that all data collected until now are not in UTC :( Anyway, if I understand this issue, we simply add another parameter compatible with tzinfo. |
After some tests,
I replace by
Back to the subject, I try to add a parameter for using tzstr and/or pytz. It is such a nightmare. |
Yes, timezones are a real nightmare - especially in python Is there any circumstance where input data lacking timezone information is not rejected by intelmq? It should always actually (except for parsers where tz information is given as fallback value). If yes, could you please describe this? |
Additional option for generic csv parser: timezone correction.
The timezone offset is often not given in the time-column, so it should be defined manually.
Possible configuration format:
+10:00
,-8
etc. No abbreviations, they are not unique in most cases.The text was updated successfully, but these errors were encountered: