Skip to content

Commit c0fa0b0

Browse files
authored
Merge pull request #1306 from mokashang/fix/timestamptz-error-typo
Fix typo in timestamptz precision error message
2 parents b9b19ec + 84f2b7a commit c0fa0b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/core/shared/src/main/scala/codec/TemporalCodecs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ trait TemporalCodecs {
138138
if (precision >= 0 && precision <= 6)
139139
temporal(offsetDateTimeFormatter(precision), OffsetDateTime.parse, Type.timestamptz(precision))
140140
else
141-
throw new IllegalArgumentException(s"timestampz($precision): invalid precision, expected 0-6")
141+
throw new IllegalArgumentException(s"timestamptz($precision): invalid precision, expected 0-6")
142142

143143
private def intervalCodec(tpe: Type): Codec[Duration] =
144144
Codec.simple(

0 commit comments

Comments
 (0)