[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17600: Maybe a bug of `date`
From: |
HoHo Zhao |
Subject: |
bug#17600: Maybe a bug of `date` |
Date: |
Mon, 26 May 2014 16:45:55 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Hi team,
I found this "bug" maybe I am lazy to look through the info document.
Correct:
$ TZ=UTC date -d "15:00 BST"
Mon May 26 14:00:00 UTC 2014
Correct:
$ TZ=UTC date -d "15:00 EST"
Mon May 26 20:00:00 UTC 2014
Correct:
$ TZ=UTC date -d "15:00 JST" (Japan Standard Time)
Mon May 26 06:00:00 UTC 2014
Wrong:
$ TZ=UTC date -d "15:00 CST" (China Standard Time)
Mon May 26 21:00:00 UTC 2014
So the problem is with "CST" in the date STRING.
Thanks,
--
HoHo Zhao
Regional IT Support
Red Hat Greater China
- bug#17600: Maybe a bug of `date`,
HoHo Zhao <=