Skip to content

Commit

Permalink
Uprava na novy haskell.
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrap authored and tmcgilchrist committed Mar 5, 2023
1 parent 030f51e commit 4377eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Thyme/Format/DateFast.hs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ parserRfc = do
tday = fromGregorian year month dayofmonth
return $ view (from utcTime) (UTCView tday tdiff)

parseFastUtc :: Monad m => T.Text -> m UTCTime
parseFastUtc :: MonadFail m => T.Text -> m UTCTime
parseFastUtc t =
case S.scanOnly parserRfc (encodeUtf8 t) of
Right d -> return d
Expand Down

0 comments on commit 4377eb1

Please sign in to comment.