(RelativeMonth): Add 1900 to the year so that relative date specs
commitaaa9cb7c227451496651271125cdf92646e1ce7f
authorJim Meyering <jim@meyering.net>
Wed, 6 Mar 1996 04:57:01 +0000 (6 04:57 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 6 Mar 1996 04:57:01 +0000 (6 04:57 +0000)
treeb3a0f3c75c3062357e268828786fc481bb59c63a
parent73d802bead7e8042bb67dc0839767b3d853583c9
(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