strptime 0.1.3 → 0.1.4
raw patch · 2 files changed
+5/−3 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- Data/Time/Parse.hsc +3/−1
- strptime.cabal +2/−2
Data/Time/Parse.hsc view
@@ -89,7 +89,9 @@ year <- (#peek struct tm,tm_year ) p_tm :: IO CInt let day = fromGregorian (fromIntegral (year+1900)) (1+fromIntegral month) (fromIntegral mday) let tod = TimeOfDay (fromIntegral hour) (fromIntegral min) (fromIntegral sec)-+ + touchForeignPtr fztf+ return $ Just (LocalTime day tod, last `minusPtr` cs) type CTm = () -- struct tm
strptime.cabal view
@@ -1,6 +1,6 @@ Name: strptime Category: System, Data, Parsing-Version: 0.1.3+Version: 0.1.4 Cabal-version: >= 1.2 Build-type: Simple Copyright: Eugene Kirpichov@@ -24,7 +24,7 @@ Library Build-Depends: time, bytestring if flag(split-base)- Build-depends: base >= 3.0 && < 4.0+ Build-depends: base >= 3.0 && < 5.0 else Build-depends: base < 3.0 Exposed-modules: Data.Time.Parse