Hi..

% date -d "07-09-10 10:45:43"
Mon Sep 10 10:45:43 PDT 2007

% date -d "07-09-10 10:45:43 + 1 minute"
Mon Sep 10 03:45:43 PDT 2007

% date -d "07-09-10 10:45:43 PDT + 1 minute"
Mon Sep 10 10:46:43 PDT 2007

The date -d option is taking the time in the local time zone except when
you add time to it, when it reverts to GMT.  Explicitly mentioning the
timezone is a workaround.

Version of date (GNU coreutils): 5.97

Thanks!

-- 
PF <[EMAIL PROTECTED]>



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to