]> gitweb @ CieloNegro.org - time-http.git/blobdiff - Data/Time/RFC733/Parsec.hs
Asctime
[time-http.git] / Data / Time / RFC733 / Parsec.hs
index 996c94e51ee803fcbafaa56258b5192a6e140b9f..6746a3ed5ec8c4545e5fc018e03eff3ea60ccc6c 100644 (file)
@@ -44,7 +44,7 @@ date = do day   <- read2
                    <|>
                    liftM (+ 1900) read2
           _     <- char ' '
-          assertGregorianDateIsGood (toInteger year) month day
+          assertGregorianDateIsGood year month day
 
 time :: Stream s m Char => ParsecT s u m (TimeOfDay, TimeZone)
 time = do tod <- hour