Open zeethegenius-zz opened 8 years ago
it seems to be the IANA published a breaking release at @5pm PST, i'd try to ping them and see what the deal is.
An interim workaround would be to use the LocalTzDbFileSource rather than the default FtpTzDbFileSource.
To use local do i need to download some file? do you have some sample unit test i can look at? My production is broken and management is all over it.
I will greatly appreciate if you can help?
On Sep 28, 2016, at 8:56 PM, Chris Dostert notifications@github.com wrote:
it seems to be the IANA published a breaking release at @5pm https://github.com/5pm PST, i'd try to ping them and see what the deal is.
An interim workaround would be to use the LocalTzDbFileSource https://github.com/chrisdostert/DotNetTimeZoneDb/blob/master/Src/TimeZoneDb/TimeZoneDataSource/Iana/Etl/Extractor/FileSource/LocalTzDbFileSource.cs rather than the default FtpTzDbFileSource https://github.com/chrisdostert/DotNetTimeZoneDb/blob/master/Src/TimeZoneDb/TimeZoneDataSource/Iana/Etl/Extractor/FileSource/FtpTzDbFileSource.cs.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chrisdostert/DotNetTimeZoneDb/issues/10#issuecomment-250343246, or mute the thread https://github.com/notifications/unsubscribe-auth/AVd6whY2hZgaVDUAqypoeD3lWb78kwSEks5quwzEgaJpZM4KJdQ-.
For local which one of these files should I download? tzdb-2016g.tar.lz (374.6kb) Complete Distribution (Data, Code and Extras) tzdata2016g.tar.gz (309.2kb) Data Only Distribution tzcode2016g.tar.gz (198.6kb) Code Only Distribution
I'm in transit at the moment but will send something as soon as i'm able.
The correct source will be the tzdata2016g.tar.gz which you will need to unzip
Thanks got it working with the suggestion you made I greatly appreciate that !
I have created a modified version of library that has ability to load from embedded resource tzdata2016g.tar.gz. Can you please give me permission to push as a branch so you can also take a look?
Awesome, I'd be happy to take a PR; go ahead and fork the repo and submit a PR and i'll take a look.
I'm planning on updating the behavior this weekend to snag the .tar.gz version from IANA ftp rather than the unzipped version as it appears that's either unreliable or they've decided to not publish in that format any longer.
Likely i'll also update the code to default to use the most recent version from the IANA and fallback to the local copy if IANA is down or broken.
This sound good to you?
Sounds great to me. Iana have fixed the problem. I will clean up code tomorrow and do a PR. Thanks !
Sent from my iPhone
On Sep 29, 2016, at 12:12 PM, Chris Dostert notifications@github.com wrote:
Awesome, I'd be happy to take a PR; go ahead and fork the repo and submit a PR and i'll take a look.
I'm planning on updating the behavior this weekend to snag the .tar.gz version from IANA ftp rather than the unzipped version as it appears that's either unreliable or they've decided to not publish in that format any longer.
Likely i'll also update the code to default to use the most recent version from the IANA and fallback to the local copy if IANA is down or broken.
This sound good to you?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hey, I have added fallback mechanism to local for you. I first go to the filesource that is set if ti fails I go to fallback local iana database. I have also fixed other bug that I filed regarding performance. I will doing pull request shortly.
I have submitted pull request.
I have fallback mechanism to local file dB source you can check it out. Pull request is pending for over a year .
https://github.com/chrisdostert/DotNetTimeZoneDb/pull/12
Sent from my iPhone
On Oct 23, 2017, at 1:28 PM, BradleyDHobbs notifications@github.com wrote:
How did you get it working with the LocalTzDbFileSource?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
ftp://ftp.iana.org/tz/data/ is not working anymore can you please provide a work around that I can use to fix it as our production is down and I need to figure out what I can do to fix it ASAP?