Skip to content

Reject year 0 for Hebrew, French and Islamic calendars#9

Open
a2line wants to merge 1 commit into
geneweb:masterfrom
a2line:reject_year_0_cal
Open

Reject year 0 for Hebrew, French and Islamic calendars#9
a2line wants to merge 1 commit into
geneweb:masterfrom
a2line:reject_year_0_cal

Conversation

@a2line

@a2line a2line commented Feb 6, 2026

Copy link
Copy Markdown

These calendars have no year zero. Previously, year=0 passed validation and produced incorrect conversions (e.g. Hebrew d=0,m=0,y=0 mapped to d=1,m=1,y=2). Add check_year year>0 for all three calendar kinds in make.

Fixes geneweb/geneweb#160

These calendars have no year zero. Previously, year=0 passed
validation and produced incorrect conversions (e.g. Hebrew
d=0,m=0,y=0 mapped to d=1,m=1,y=2). Add check_year year>0
for all three calendar kinds in make.

Fixes geneweb/geneweb#160
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.

An zéro / calendrier hébraïque

1 participant