Summary
The error message thrown when timestamptz(p) is given an out-of-range precision misspells the type name as timestampz — missing the t before z. All other temporal codec messages in the same file (time, timetz, timestamp, interval) are spelled correctly.
Reproducer
import skunk.codec.temporal._
try timestamptz(7) // valid range is 0-6
catch case e: IllegalArgumentException =>
println(e.getMessage)
// timestampz(7): invalid precision, expected 0-6
Source
|
throw new IllegalArgumentException(s"timestampz($precision): invalid precision, expected 0-6") |
throw new IllegalArgumentException(s"timestampz($precision): invalid precision, expected 0-6")
One-character fix. Happy to PR.
Summary
The error message thrown when
timestamptz(p)is given an out-of-range precision misspells the type name astimestampz— missing thetbeforez. All other temporal codec messages in the same file (time,timetz,timestamp,interval) are spelled correctly.Reproducer
Source
skunk/modules/core/shared/src/main/scala/codec/TemporalCodecs.scala
Line 141 in 68b2abc
One-character fix. Happy to PR.