Hello Bob, thank you for your answer, but if I use
date --date="2009-10-19 00:00:01 AM" --rfc-822
I get the error:
date: invalid date `2009-10-19 00:00:01 AM'
and
> date --date="2009-10-19 0:00:01 AM" --rfc-822
date: invalid date `2009-10-19 0:00:01 AM'
> date --date="2009-10-19 00:59:59 AM" --rfc-822
date: invalid date `2009-10-19 00:59:59 AM'
> date --date="2009-10-19 01:00:00 AM" --rfc-822
Mon, 19 Oct 2009 01:00:00 +0200
> date --date="2009-10-19 12:00:00 PM" --rfc-822
Mon, 19 Oct 2009 12:00:00 +0200
> date --date="2009-10-19 12:00:01 PM" --rfc-822
Mon, 19 Oct 2009 12:00:01 +0200
> date --date="2009-10-19 12:59:59 PM" --rfc-822
Mon, 19 Oct 2009 12:59:59 +0200
So "AM" begin on 01:00:00 now?
Then you are not right with...
Am 2009-10-17 15:22:10, schrieb Bob Proulx:
> Yes that is correct for US time. 00:00:01 is after midnight and
> before noon and is therefore "ante meridiem" meaning before mid day.
> After noon and before midnight is "post meridiem" or after mid day.
> Therefore 2009-10-19 00:00:01 is correctly AM. However use of "00"
> implies to me 24-hour time and 24-hour time has no need for either an
> AM or PM designation since it is unambiguous in that case. However if
> you were refering to 2009-10-19 12:00:01 and it is not known if it is
> 24-hour time or 12-hour time then the AM or PM is required to
> disambiguate them.
To get english error mesages I have set the system to en_US, but it is
NO difference to de_DE
If 00:00:01 is realy AM, then there s a bug in "date"
Can you check the date output on your system please?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature

