We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d1dd9 commit f05e509Copy full SHA for f05e509
src/core/aviation.Timestamp.scala
@@ -28,7 +28,7 @@ object Timestamp:
28
29
given Tactic[TimestampError] => Decoder[Timestamp] = text =>
30
text match
31
- case r"$year([0-9]{4})-$month([0-9]{2})-$day([0-9]{2})T$hour([0-9]{2}):$minute([0-9]{2}):$second([0-9]{2})" =>
+ case r"$year(\d{4})-$month(\d{2})-$day(\d{2})T$hour(\d{2}):$minute(\d{2}):$second(\d{2})" =>
32
tend:
33
case NumberError(_, _) => TimestampError(text)
34
case DateError(_) => TimestampError(text)
0 commit comments