Skip to content
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

Improve re-compilation for future ZonedDateTime beyond 2038 #476

Open
hsteinacker-siz opened this issue Sep 10, 2024 · 1 comment
Open
Milestone

Comments

@hsteinacker-siz
Copy link

Dear TimeZones Community,

when re-compiling the TimeZones package (v1.18.0) to use ZoneDateTime beyond 2038 with TimeZones.TZData.compile(max_year=2200), we ran into several problems:

  • we first had to manually create the folder /.julia/scratchspaces/f269a46b-ccf7-5d73-abea-4c690281aa53/build/tzsource/2024a
  • then we had to manually download the tz data from IANA and deleted all files except the ones named as continents (otherwise all file were tried to be read in leading to errors)
  • finally we had to manually create the destination folder for the recompilation at .julia/scratchspaces/f269a46b-ccf7-5d73-abea-4c690281aa53/build/compiled/tzjf/v1/2024a.

Is this the intended way to do this? If yes, this may should be explained in the documentation, as it took us some time to figure this out.

Many thank for the development of this package!

@omus
Copy link
Member

omus commented Sep 12, 2024

Thanks for reporting this. It looks like some of the TZJFile revisions that happened a while ago broke this code path.

@omus omus added this to the 1.19.0 milestone Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants