[commit: packages/time] master: Fix note about `%Y` padding. (a52561a)

git at git.haskell.org git at git.haskell.org
Sun Dec 20 07:55:53 UTC 2015


Repository : ssh://git@git.haskell.org/time

On branch  : master
Link       : http://git.haskell.org/packages/time.git/commitdiff/a52561acc09a942995f74bb8a0a2cd89f955c941

>---------------------------------------------------------------

commit a52561acc09a942995f74bb8a0a2cd89f955c941
Author: Björn Buckwalter <bjorn.buckwalter at gmail.com>
Date:   Sun Dec 14 22:16:52 2014 +0100

    Fix note about `%Y` padding.


>---------------------------------------------------------------

a52561acc09a942995f74bb8a0a2cd89f955c941
 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 d071c30..91dc93d 100644
--- a/lib/Data/Time/Format.hs
+++ b/lib/Data/Time/Format.hs
@@ -108,7 +108,7 @@ formatChar c locale mpado t = case (formatCharacter c) of
 --
 -- [@%x@] as 'dateFmt' @locale@ (e.g. @%m\/%d\/%y@)
 --
--- [@%Y@] year, no padding. Note @%0y@ and @%_y@ pad to four chars
+-- [@%Y@] year, no padding. Note @%0Y@ and @%_Y@ pad to four chars
 --
 -- [@%y@] year of century, 0-padded to two chars, @00@ - @99@
 --



More information about the ghc-commits mailing list