Incidentally-- if you leave off the "+1300" and use a 12-hour
(non-military) time (e.g. 7:54:39 PM), it DOES work. Watch this:

TWU:/home/fox/mailpull# date --date="Mon, 1 Oct 2001 7:54:39 PM"
Mon Oct  1 19:54:39 CDT 2001
TWU:/home/fox/mailpull# date --date="Mon, 1 Oct 2001 7:54:39 PM +1300"
date: invalid date `Mon, 1 Oct 2001 7:54:39 PM +1300'

So, it works when you use non-military time. It works when you use RFC-822
style numeric timezones... but not both.

On Mon, 31 Dec 2001, Jessica Blank wrote:

> This works:
>
> TWU:/home/fox/mailpull# date --date="Mon, 1 Oct 2001 19:54:39 +1300"
> Mon Oct  1 01:54:39 CDT 2001
>
> ...but this does not:
>
> TWU:/home/fox/mailpull# date --date="Mon, 1 Oct 2001 7:54:39 PM +1300"
> date: invalid date `Mon, 1 Oct 2001 7:54:39 PM +1300'
>
>
>
> =========================================
>   J e s s i c a    L e a h    B l a n k
> -----------------------------------------
>   Programmer * Unix Sysadmin * Web Geek
>  [EMAIL PROTECTED] * http://www.JessL.org/
> =========================================
>
>
>


=========================================
  J e s s i c a    L e a h    B l a n k
-----------------------------------------
  Programmer * Unix Sysadmin * Web Geek
 [EMAIL PROTECTED] * http://www.JessL.org/
=========================================



_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to