Do not lose precision when serializing UTCTime to Redis.

This commit is contained in:
Felipe Lessa 2015-05-28 02:20:17 -03:00
parent 7fdfd16216
commit bdd6db9e2a

View File

@ -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"
----------------------------------------------------------------------