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 3d10c9b commit a632eeaCopy full SHA for a632eea
src/Simplex/Messaging/Encoding/String.hs
@@ -144,7 +144,7 @@ instance StrEncoding SystemTime where
144
145
instance StrEncoding UTCTime where
146
strEncode = B.pack . iso8601Show
147
- strP = maybe (Left "bad UTCTime") Right . iso8601ParseM . B.unpack <$?> A.takeTill (\c -> c == ' ' || c == '\n')
+ strP = maybe (Left "bad UTCTime") Right . iso8601ParseM . B.unpack <$?> A.takeTill (\c -> c == ' ' || c == '\n' || c == ',' || c == ';')
148
149
-- lists encode/parse as comma-separated strings
150
strEncodeList :: StrEncoding a => [a] -> ByteString
0 commit comments