On Thu, Feb 12, 2009 at 12:11:39AM +0100, you wrote:
Natural for US citizens. Not so natural for others.

It's not natural for anyone. It's kinda-sorta, then doesn't do what you expect.

If locale based input parsing is doomed then the next logical solution
is using a common format, and ISO 8601 is fine in this case, but then it
should also be documented well! The manpage only talks about possible
*output* formats ( and only mentions --rfc-2822 and --rfc-3339 there).

From user's perspective, even one single *complete* example of date and
time setting somewhere on top of the manpage or in the --help output
would help a lot, but there is nothing. Just a short reference to some
"STRING".

Because, as I said, it isn't "a string". It's designed to take things like "last thursday" or "fortnight tuesday". The info docs hint at the complexity necessary for the documentation.

Which manpage? date(1) on my system says:

date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]

So it looks like it should accept "-s 02112332" (for February 11th,
23:12). But it doesn't!

Note the lack of the "-s" in the quoted line. :-)

Mike Stone



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to