packages feed

old-time 1.0.0.7 → 1.1.0.0

raw patch · 2 files changed

+7/−3 lines, 2 files

Files

System/Time.hsc view
@@ -1,4 +1,8 @@+{-# LANGUAGE CPP #-} {-# OPTIONS_GHC -fno-warn-unused-binds #-}+#if __GLASGOW_HASKELL__ >= 701+{-# LANGUAGE Trustworthy #-}+#endif -- XXX with some combinations of #defines we get warnings, e.g. -- Warning: Defined but not used: `throwAwayReturnPointer' @@ -607,7 +611,7 @@         decode 'e' = show2' day                      -- ditto, padded         decode 'H' = show2 hour                      -- hours, 24-hour clock, padded         decode 'I' = show2 (to12 hour)               -- hours, 12-hour clock-        decode 'j' = show3 yday                      -- day of the year+        decode 'j' = show3 (yday + 1)                -- day of the year         decode 'k' = show2' hour                     -- hours, 24-hour clock, no padding         decode 'l' = show2' (to12 hour)              -- hours, 12-hour clock, no padding         decode 'M' = show2 minute                    -- minutes
old-time.cabal view
@@ -1,5 +1,5 @@ name:		old-time-version:	1.0.0.7+version:	1.1.0.0 license:	BSD3 license-file:	LICENSE maintainer:	libraries@haskell.org@@ -29,7 +29,7 @@     includes:	HsTime.h     install-includes:	HsTime.h HsTimeConfig.h     extensions:	CPP, ForeignFunctionInterface-    build-depends: base >= 3 && < 5, old-locale+    build-depends: base >= 4.4 && < 5, old-locale     nhc98-options: -K2M  source-repository head