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

IPstack/AIP epoch. Year 2038 problem #47

Open
kevlar700 opened this issue Nov 20, 2023 · 0 comments
Open

IPstack/AIP epoch. Year 2038 problem #47

kevlar700 opened this issue Nov 20, 2023 · 0 comments

Comments

@kevlar700
Copy link

The support files aip-time_types.ads mention an unspecified epoch.

This will likely be Jan 1st 1970, however that is susceptible to overflow in 2038. A user could use a more recent epoch to buy e.g. 50 years.

The best way to fix it would be for the type Time to be mod 2 ** 64.

Would a PR be welcome? It would likely require users to update their support files.

@kevlar700 kevlar700 changed the title IPstack epoch. Year 2038 problem IPstack/AIP epoch. Year 2038 problem Nov 20, 2023
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

1 participant