diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-07 01:35:34 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-07 01:35:34 +0000 |
commit | e309b62a5156d70d03157abded5836eccaa56b7a (patch) | |
tree | 44a05144b8164f480fe009d9b9b7ed168d629e47 /sys/arch | |
parent | c59e5e6dbdacdeef70d0b723a5087e77503d2ee0 (diff) |
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@
Diffstat (limited to 'sys/arch')
0 files changed, 0 insertions, 0 deletions