CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/03/06 18:35:33
Modified files:
usr.bin/mandoc : libmandoc.h main.c man.c man.h man_html.c
man_term.c man_validate.c mandoc.c mandoc.h
mdoc.c mdoc.h mdoc_html.c mdoc_term.c
mdoc_validate.c out.h
share/man/man7 : man.7 mdoc.7
Log message:
Clean up date handling,
as a first step to get rid of the frequent petty warnings in this area:
- always store dates as strings, not as seconds since the Epoch
- for input, try the three most common formats everywhere
- for unrecognized format, just pass the date though verbatim
- when there is no date at all, still use the current date
Originally triggered by a one-line patch from Tim van der Molen,
<tbvdm at xs4all dot nl>, which is included here.
Feedback and OK on manual parts from jmc@.
"please check this in" kristaps@