Skip to content

Commit

Permalink
Remove fractional seconds from serialization of iso8601 timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
penntaylor authored and brendanhay committed Nov 16, 2018
1 parent b9ebf7f commit e707751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Network/AWS/Data/Time.hs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class TimeFormat a where
format :: Tagged a String

instance TimeFormat RFC822 where format = Tagged "%a, %d %b %Y %H:%M:%S GMT"
instance TimeFormat ISO8601 where format = Tagged (iso8601DateFormat (Just "%X%6QZ"))
instance TimeFormat ISO8601 where format = Tagged (iso8601DateFormat (Just "%XZ"))
instance TimeFormat BasicTime where format = Tagged "%Y%m%d"
instance TimeFormat AWSTime where format = Tagged "%Y%m%dT%H%M%SZ"

Expand Down

0 comments on commit e707751

Please sign in to comment.