Bug 822521
Summary: | date -d doesnt like hkt timezone | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mohammed Arafa <bugzilla> |
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | kdudka, maxamillion, ovasik, pbrady, p, twaugh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-18 07:57:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mohammed Arafa
2012-05-17 14:50:49 UTC
Parsing these abbreviated timezones is inconsistent and ambiguous. I wrote some notes on this here: http://www.pixelbeat.org/docs/linux_timezones/ Please only use the location based Asia/Hong_Kong as input pls. see the second command used. it uses the full location as a timezone and yet the issue is still occurring The second command in comment 1 is really 2 commands, the first of which will generate an abbreviated output as input to the second. You can do what (I think) you want in a single date invocation, using this form that was shown at link in comment 2: TZ="America/New_York" date -d 'TZ="Asia/Hong_Kong" 9pm' That shows the local time in New York corresponding to 9PM in Hong Kong |