Skip to content

Commit

Permalink
Merge pull request #974 from busti/patch-1
Browse files Browse the repository at this point in the history
Use explicit Locale for era formatting
  • Loading branch information
mpilquist authored Oct 27, 2023
2 parents c0303dd + d2c844b commit a394ad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/shared/src/main/scala/codec/TemporalCodecs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ trait TemporalCodecs {
.toFormatter(Locale.US)

private val eraFormatter: DateTimeFormatter =
DateTimeFormatter.ofPattern(" G")
DateTimeFormatter.ofPattern(" G", Locale.US)

private val localDateFormatter: DateTimeFormatter =
new DateTimeFormatterBuilder()
Expand Down Expand Up @@ -157,4 +157,4 @@ trait TemporalCodecs {

}

object temporal extends TemporalCodecs
object temporal extends TemporalCodecs

0 comments on commit a394ad3

Please sign in to comment.