[commit: packages/time] ghc, master: Format: update comment on %Q specifier (2a09e11)
git at git.haskell.org
git at git.haskell.org
Wed Jul 19 22:05:49 UTC 2017
Repository : ssh://git@git.haskell.org/time
On branches: ghc,master
Link : http://git.haskell.org/packages/time.git/commitdiff/2a09e11ff877ab7e282e926bab73df858082017c
>---------------------------------------------------------------
commit 2a09e11ff877ab7e282e926bab73df858082017c
Author: Ashley Yakeley <ashley at yakeley.org>
Date: Sat May 13 12:23:28 2017 -0700
Format: update comment on %Q specifier
>---------------------------------------------------------------
2a09e11ff877ab7e282e926bab73df858082017c
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 at .
--
-- [@%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':
More information about the ghc-commits
mailing list