Do not lose precision when serializing UTCTime to Redis.
This commit is contained in:
parent
7fdfd16216
commit
bdd6db9e2a
@ -158,7 +158,7 @@ printUTCTime = B8.pack . TI.formatTime TI.defaultTimeLocale timeFormat
|
||||
|
||||
-- | Time format used when storing 'UTCTime'.
|
||||
timeFormat :: String
|
||||
timeFormat = "%Y-%m-%dT%H:%M:%S"
|
||||
timeFormat = "%Y-%m-%dT%H:%M:%S.%q"
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user