netcdf4-python icon indicating copy to clipboard operation
netcdf4-python copied to clipboard

timezone formats not supported correctly

Open mdecker opened this issue 8 years ago • 2 comments

As nobody over at https://github.com/Unidata/netcdftime seems to react and I would like to have that fixed at some point, I'm now shamelessly posting the issue here as well. Please have a look at https://github.com/Unidata/netcdftime/issues/17 and let me know if you disagree. As pointed out there: It's not hard to fix, but I would like to know if there is any disagreement with this format change before I make a PR.

mdecker avatar Aug 17 '17 13:08 mdecker

Sounds reasonable to me - although I'm pretty ignorant about timezones and such.

jswhit avatar Aug 17 '17 14:08 jswhit

pull request over here: https://github.com/Unidata/netcdftime/pull/18 Feel free to improve. I had hoped for a cleaner solution but it turns out that having to support some weird old non-standard time strings makes it less straight-forward.

mdecker avatar Aug 18 '17 12:08 mdecker