Skip to content

Commit f05e509

Browse files
committed
Removed all remaining long lines
1 parent a5d1dd9 commit f05e509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/aviation.Timestamp.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ object Timestamp:
2828

2929
given Tactic[TimestampError] => Decoder[Timestamp] = text =>
3030
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})" =>
31+
case r"$year(\d{4})-$month(\d{2})-$day(\d{2})T$hour(\d{2}):$minute(\d{2}):$second(\d{2})" =>
3232
tend:
3333
case NumberError(_, _) => TimestampError(text)
3434
case DateError(_) => TimestampError(text)

0 commit comments

Comments
 (0)