Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When encoding TIME and DATETIME/TIMESTAMP parameters into the text protocol, several codecs format the value using the JVM's default locale instead of a fixed one: like DurationCodec builds the TIME literal with String.format("%d:%02d:%02d.%06d", …) without any Locale argument.
Goal is too pass Locale.ROOT explicitly at every locale-sensitive formatting site in DurationCodec, InstantCodec, and LocalDateTimeCodec, so temporal/time wire formatting is deterministic and locale-independent.
thanks to jmestwa-coder