From 2a09e11ff877ab7e282e926bab73df858082017c Mon Sep 17 00:00:00 2001 From: Ashley Yakeley <ashley@yakeley.org> Date: Sat, 13 May 2017 12:23:28 -0700 Subject: [PATCH] Format: update comment on %Q specifier --- lib/Data/Time/Format.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Data/Time/Format.hs b/lib/Data/Time/Format.hs index efbb43f..6d08371 100644 --- a/lib/Data/Time/Format.hs +++ b/lib/Data/Time/Format.hs @@ -143,7 +143,7 @@ formatChar c = case formatCharacter c of -- [@%q@] picosecond of second, 0-padded to twelve chars, @000000000000@ - @999999999999@. -- -- [@%Q@] decimal point and fraction of second, up to 12 second decimals, without trailing zeros. --- For a whole number of seconds, @%Q@ produces the empty string. +-- For a whole number of seconds, @%Q@ omits the decimal point unless padding is specified. -- -- === 'UTCTime' and 'ZonedTime' -- For 'UTCTime' and 'ZonedTime': -- GitLab