packages feed

hack2-contrib 2012.5.15 → 2012.12.18

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Hack2.Contrib.AirBackports: b2u, u2b :: String -> String
+ Hack2.Contrib.AirBackports: b2u :: String -> String
+ Hack2.Contrib.AirBackports: u2b :: String -> String

Files

hack2-contrib.cabal view
@@ -1,5 +1,5 @@ Name:                 hack2-contrib-Version:              2012.5.15+Version:              2012.12.18 Build-type:           Simple Synopsis:             Hack2 contrib Description:          Common middlewares and utilities that helps working with Hack2@@ -12,6 +12,7 @@ category:             Web homepage:             https://github.com/nfjinjing/hack2-contrib data-files:           readme.md, changelog.md+tested-with:          GHC==7.6.1  library 
src/Hack2/Contrib/AirBackports.hs view
@@ -23,9 +23,8 @@ file_size path = withFile path ReadMode hFileSize  file_mtime :: String -> IO UTCTime-file_mtime path = -  getModificationTime path ^ seconds ^ from_i ^ posixSecondsToUTCTime-  where seconds (TOD s _) = s+file_mtime = getModificationTime+    now :: IO UTCTime now = getCurrentTime