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

Issue #2782: Non-Gregorian Calendars #2865

Merged
merged 3 commits into from
Jan 5, 2022

Conversation

hawkfish
Copy link
Contributor

@hawkfish hawkfish commented Jan 4, 2022

Allow the user to change the current calendar used by ICU via

Set Calendar='<name>';

Test it using the Japanese imperial eras.

Richard Wesley added 2 commits January 3, 2022 13:46
Allow the user to change the current calendar used by ICU via
```sql
Set Calendar='<name>';
```

Test it using the Japanese imperial eras.
@hawkfish
Copy link
Contributor Author

hawkfish commented Jan 4, 2022

I should know better than to second guess ICU's time nerds... Think I should fix this before it ends up in our permanent code base.

Fix arrogant (and incorrect) comment on the Meiji era.
@hawkfish
Copy link
Contributor Author

hawkfish commented Jan 4, 2022

In case anyone ever asks, I have a tsv that maps the era numbers to the Japanese (Kanji) names and the English transcriptions, along with the date boundaries.

@hawkfish
Copy link
Contributor Author

hawkfish commented Jan 5, 2022

The sanitiser failure looks unrelated?

@Mytherin Mytherin merged commit b48ff00 into duckdb:master Jan 5, 2022
@Mytherin
Copy link
Collaborator

Mytherin commented Jan 5, 2022

Indeed it is. Thanks! Looks good.

@hawkfish hawkfish deleted the hawkfish-icu-calendars branch January 5, 2022 18:27
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.

None yet

2 participants