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

No October 30, 2166 #11

Open
langelgjm opened this issue Apr 25, 2019 · 1 comment
Open

No October 30, 2166 #11

langelgjm opened this issue Apr 25, 2019 · 1 comment

Comments

@langelgjm
Copy link

langelgjm commented Apr 25, 2019

When trying to solve a logic puzzle, I ran across the following issue - October 30, 2166 seems not to exist!

?- form_time(gregorian(2166, 10, 29)).
true.

?- form_time(gregorian(2166, 10, 30)).
false.

?- form_time(gregorian(2166, 10, 31)).
true.

However, the following works:

?- gregorian(2166, 10, 30).
Correct to: "julian_calendar_gregorian:gregorian(2166,10,30)"? yes
true.

Version: SWI-Prolog (threaded, 64 bits, version 8.0.1)

@mndrix
Copy link
Contributor

mndrix commented Apr 26, 2019

Good catch, and thanks for the report.

I'm not currently using julian or Prolog, so I probably won't get around to debugging this myself. Sorry. I'll leave the issue open in case anyone else is interested in tracking down a fix.

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