Closed DaTrader closed 2 years ago
@DaTrader, thanks for the report as always. As for the parsing bug, no problem, I'll fix that.
The other issues:
warning: Code.can_await_module_compilation?/0 is undefined or private
lib/cldr/locale/cache.ex:35: Cldr.Locale.Cache.compiling?/0
This is a function only available in Elixir 1.13 but conditional compilation should not result in it being called if you're on earlier releases. Will investigate.
warning: Date.to_gregorian_days/1 is undefined or private
lib/cldr/calendar/behaviour.ex:6: Cldr.Calendar.Behaviour.__using__/1
This function is only available from Elixir 1.11. I thought it was from Elixir 1.10 so I need to revise the Elixir dependency. What version of Elixir are you on?
warning: Cldr.Config.known_locale_names/1 is deprecated. Use Cldr.Locale.Loader.known_locale_names/1
lib/cldr/backend.ex:792: MyApp.Cldr.Territory
warning: Cldr.Config.get_locale/2 is deprecated. Use Cldr.Locale.Loader.get_locale/2
lib/cldr/backend.ex:795: MyApp.Cldr.Territory
Please upgrade to ex_cldr_territories
version ~> 2.3
.
I'm still on 1.10.3. Will upgrade one of these days, but with all the workload I keep on postponing it.
Btw, just upgraded to ex_cldr_territories 2.3 and the warnings vanished.
I mean all of them, the first two as well.
Nah, that could be because it didn't have to recompile that particular library.
I would expect that first two warnings to still exist if you recompile. But I'll work around those, might take me a day though.
Published ex_cldr_numbers 2.23.2 fixing Cldr.Number.Parser.resolve_currencies/1
when there is only whitepspace in the string. The changelog entry is:
Cldr.Number.Parser.resolve_currencies/1
when the argument is whitespace only. Thanks to @datrader for the report.Will work on the other issues over the weekend.
I have fixed the warning: Code.can_await_module_compilation?/0 is undefined or private
error in ex_cldr version 2.24.2 with the following changeling entry:
Code.can_await_module_compilation?/0
on Elixir versions where the function does not exist. Thanks to @DaTrader for the report.@external_resource
for each configured locale in backend modules.
Hey Kip,
here's a minor bug for your consideration:
Besides this, can you please tell me whether the following compilation warnings have something to do with me or is it something to do with your code?
These are my cldr related deps:
And this is my App.Cldr:
Speak soon,
Damir