Open mcallisto opened 4 years ago
Support for SimpleDateFormat
is not that great, could you try using DateTimeFormatter
instead?
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
Trying another snippet with DateTimeFormatter
https://scastie.scala-lang.org/mcallisto/gdksVpgMRhyKk2ct2lFBww/49
But Scastie fails
sbt.librarymanagement.ResolveException: Error downloading io.github.cquiroz:scalajavatime_sjs1_2.13:2.0.0
Not found
not sure why, ScalaJs 1.1.1
on Scala 2.13.3
.
While running the following test on a scalaJS only module of mine:
I am not getting a localized month name
even if the CLDR data seem in place,
data.scala
is written and its object_en
contains the names of the months.In order to abstract from my system I have tried the following snippet https://scastie.scala-lang.org/mcallisto/gdksVpgMRhyKk2ct2lFBww/6 and it fails in a similar fashion.