Hello,
I had a similar experience trying to get a correct formatted date and time in different languages:
https://discourse.elm-lang.org/t/module-for-formatting-time-in-different-timezones-and-languages/2547/4
As with Elm 0.19 direct integration of Javascript is not “allowed”/ possible anymore, I wished, that a way to use all pure functions of javascript would be available for building better libraries, especially for supporting multiple locations and languages.