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

fix: remove warnings while loading locales #1

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

zenbaku
Copy link
Contributor

@zenbaku zenbaku commented Nov 30, 2021

Hi there!

It seems recent versions of elixir-cldr deprecated some function calls in cldr_strftime and I had my build failing (due to mix compile --warnings-as-errors).

This PR solves these warnings. However, I'm not sure if more changes are needed (version bump, maybe?).

Please let me know and I'll be happy to update anything.

Cheers!

@kipcole9 kipcole9 merged commit 2969fc4 into elixir-cldr:main Nov 30, 2021
@kipcole9
Copy link
Contributor

kipcole9 commented Dec 1, 2021

Thanks very much for the PR, greatly appreciated. I have published ex_cldr_strftime version 1.0.0 since the API hasn't changed in a year. The changelog reads:

Enhancements

  • Bump to version 1.0.0 since the API has been stable for over a year

  • Update requirement for CLDR40-based releases of ex_cldr to remove deprecation warnings. Thanks to @zenbaku for the PR.

I also fixed a dialyzer issue in ex_cldr_dates_times so please ensure you're using the latest version.

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