[darcs-devel] darcs patch: Remove features not used in parsing patc... (and 1 more)

Eric Y. Kow eric.kow at gmail.com
Tue Jan 29 22:11:10 UTC 2008


> Tue Jan 29 09:24:01 GMT 2008  Eric Kow <E.Y.Kow at brighton.ac.uk>
>   * Remove features not used in parsing patch dates.

Reading David's comment, I wonder if I have overshot

> -old_date_time   :: CharParser a CalendarTime
> -old_date_time    = do wd <- day_name
> -                      my_spaces
> -                      mon <- month_name
> -                      my_spaces
> -                      d <- day
> -                      my_spaces
> -                      h <- hour
> -                      char ':'
> -                      m <- minute
> -                      char ':'
> -                      s <- second
> -                      my_spaces
> -                      z <- zone
> -                      my_spaces
> -                      y <- year
> -                      return (CalendarTime y mon d h m s 0 wd 0 "" z False)

Do we still need this for parsing old patches?

-- 
Eric Kow
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080129/97125f8d/attachment.pgp 


More information about the darcs-devel mailing list