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

Adding Japanese date/datetime example #1886

Merged

Conversation

andrewpollack
Copy link
Contributor

Following advice from #1844 (comment) , I tried permutations of importing icu_provider with serde, icu_testdata with serde, and other troubleshooting. However, I found importing icu_calendar as a dev-dependencies fixed the error, and was the only way I found to be fix it. Part of me wonders if this is related to running the code within the comments/docs section. Either way, I do not like this self-referencing dependency, and am continuing to troubleshoot the error.

To reproduce the error, delete icu_calendar = { version = "0.6", path = "../calendar", features = ["serde"] } from components/calendar/Cargo.toml, and run cargo test -p icu_calendar --doc japanese

@andrewpollack andrewpollack requested a review from a team as a code owner May 15, 2022 18:30
Manishearth
Manishearth previously approved these changes May 16, 2022
components/calendar/src/japanese.rs Show resolved Hide resolved
@Manishearth Manishearth merged commit cd0066f into unicode-org:main May 16, 2022
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.

2 participants