Skip to content

use proleptic Gregorian calendar for dates before 15 October 1582#48

Merged
inukshuk merged 1 commit into
inukshuk:mainfrom
dmolesUC:proleptic-gregorian
Jun 26, 2026
Merged

use proleptic Gregorian calendar for dates before 15 October 1582#48
inukshuk merged 1 commit into
inukshuk:mainfrom
dmolesUC:proleptic-gregorian

Conversation

@dmolesUC

Copy link
Copy Markdown
Contributor

Makes all dates parsed by EDTF::Parser use the Gregorian calendar, including use of the proleptic Gregorian calendar for dates before the Gregorian calendar's introduction. Fixes #45.

  • adds Date#gregorian convenience method for constructing dates with start = Date::GREGORIAN
  • uses Date#gregorian in parser instead of Date#new

@inukshuk
inukshuk merged commit 4defba9 into inukshuk:main Jun 26, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

Proleptic Gregorian calendar support for dates < 1582-10-15

2 participants