packages feed

time-compat 0.1.0.2 → 0.1.0.3

raw patch · 3 files changed

+4/−4 lines, 3 files

Files

LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2012, Dag Odenhall+Copyright (c) 2013, Dag Odenhall All rights reserved.  Redistribution and use in source and binary forms, with or without
src/Data/Time/Compat.hs view
@@ -5,7 +5,7 @@ --   \"new\" <http://hackage.haskell.org/package/time time> package. -- --   This is useful for writing portable code; in particular, if you're---   using the <directory http://hackage.haskell.org/package/directory>+--   using the <http://hackage.haskell.org/package/directory directory> --   package and you want your code to build with both GHC 7.6 and earlier --   versions.  The version of @directory@ used with GHC 7.6 changed --   a dependency from @old-time@ to @time@ which means its@@ -47,7 +47,7 @@         Time.UTCTime day diffTime       where         year = fromIntegral ctYear-        month = fromEnum ctMonth+        month = fromEnum ctMonth + 1         day = Time.fromGregorian year month ctDay         sec = ctHour*60^2 + ctMin*60 + ctSec         pico = fromIntegral sec*10^12 + ctPicosec
time-compat.cabal view
@@ -1,5 +1,5 @@ name          : time-compat-version       : 0.1.0.2+version       : 0.1.0.3 homepage      : http://hub.darcs.net/dag/time-compat bug-reports   : http://hub.darcs.net/dag/time-compat/issues category      : System