Subject: Re: CVS commit: src/usr.bin/cal
To: None <source-changes@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: source-changes
Date: 12/19/2007 18:38:38
On Wed, 19 Dec 2007, Perry E. Metzger wrote:
> > src/usr.bin/cal: cal.c
> > the only natural choice left is to make it understand ISO style.
> So the main change is that it now handles things like "2007/12"?
ISO 8601 uses dashes, not slashes, to separate yyyy-mm-dd. Please
add support for "2007-12", and I'd mildly prefer to see "2007/12" be
a syntax error (to encourage people to use the ISO 8601 style). See
<http://www.cl.cam.ac.uk/~mgk25/iso-time.html> for a reasonable summary
of the ISO 8601 date/time format.
> Could you document it in the man page?
Yes, please.
--apb (Alan Barrett)