-
Notifications
You must be signed in to change notification settings - Fork 182
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
Include era symbol information in data #1344
Conversation
This does not handle era variants; that's something that can be decided later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but please remove the extra file
1642a07
to
6f5abcb
Compare
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one question.
number: year.0, | ||
related_iso: year.0, | ||
} | ||
} else { | ||
types::Year { | ||
era: types::Era(tinystr8!("bce")), | ||
era: types::Era(tinystr8!("bc")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question
Why are we not using TinyStr4
for these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Japanese era codes are bigger
First step of #1312
This hardcodes an era map; this is basically the only option we have if we're going to use an era code scheme.