time zone error with utc time spec
Bug #889665 reported by
Philippe Clérié
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
at (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
This is best described with an example.
# I am in Time Zone EST.
$ date
Sat Nov 12 19:06:36 EST 2011
# EST is UTC - 5, so 19:06 EST is 00:06 UTC the next day
$ date --utc
Sun Nov 13 00:06:45 UTC 2011
# So far, so good. Now I want to schedule something for 00:10 UTC
$ at -v 00:10 utc tomorrow
at: refusing to create job destined in the past
# Given that it's 00:06 UTC, the time spec is about 4 minutes in the future.
# Add one hour to the time spec.
$ at -v 01:10 utc tomorrow
Sat Nov 12 19:10:00 2011
It seems to me that something is wrong in how at handles a utc time spec.
And for what it's worth, Fedora 15 behaves in the same manner.
Thanks
Philippe
To post a comment you must log in.
Same as 433545.
Oops!