(RelativeMonth): Add 1900 to the year so that relative date specs
authorJim Meyering <jim@meyering.net>
Wed, 6 Mar 1996 04:57:01 +0000 (04:57 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 6 Mar 1996 04:57:01 +0000 (04:57 +0000)
commite131b14fc24aa47678980b700a4284c4c138ffbf
tree6a466418ebef12d72fd9b77b5261d973047f076a
parent3e917adcef77a9de15ccaa181f3aff34e84879a5
(RelativeMonth): Add 1900 to the year so that relative date specs
that push the year through the end of the century work.  For example,
`date -d "01/01/1998 3 years" +%Y' now prints 2001.
From Peter Dalgaard (pd@kubism.ku.dk).
lib/getdate.y