on master help sign in
fix bug where whole seconds weren't rendering in logzio scribe
commite0cfc853efe9d6767e18bb2257fb484f14a831ac authorMichael Xavier <michael@michaelxavier.net> dateTue 22 Jan 2019, 10:44 (8 years ago) parent3ffac14
1 file changed+1−1
katip-logzio/src/Katip/Scribes/LogzIO/HTTPS.hs+1−1
katip-logzio/src/Katip/Scribes/LogzIO/HTTPS.hs+1−1
@@ -482,7 +482,7 @@ fullItemObject verbosity item = HM.fromList
482482 -- past. They seem to support 3 decimal places of
483483 -- precision. Formatting like this requires time 1.8.0.2, which is
484484 -- reflected in the cabal file.
485− , "@timestamp" A..= A.String (T.pack (Time.formatTime Time.defaultTimeLocale "%Y-%m-%dT%H:%M:%03QZ" (K._itemTime item)))
485+ , "@timestamp" A..= A.String (T.pack (Time.formatTime Time.defaultTimeLocale "%Y-%m-%dT%H:%M:%S%03QZ" (K._itemTime item)))
486486 , "ns" A..= K._itemNamespace item
487487 , "loc" A..= (LocJs <$> K._itemLoc item)
488488 ]