Bug 8162 - /bin/date cannot parse CEST timezone
/bin/date cannot parse CEST timezone
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: sh-utils (Show other bugs)
6.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: bero
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-01-04 08:29 EST by han.holl
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-05 08:19:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description han.holl 2000-01-04 08:29:16 EST
date --date "Tue Apr 27 21:17:44 CEST 1999"
produces:
date: invalid date `Tue Apr 27 21:17:44 CEST 1999'

This is because CEST was accidentally omitted from
lib/getdate.c

Here is the patch. Please also inform the sh-utils mantainers.

Han Holl

--- sh-utils-1.16/lib/getdate.c.cest    Wed May 12 15:21:12 1999
+++ sh-utils-1.16/lib/getdate.c Wed May 12 15:22:48 1999
@@ -1612,6 +1612,7 @@
     { "nt",    tZONE,     HOUR (11) }, /* Nome */
     { "idlw",  tZONE,     HOUR (12) }, /* International Date Line West */
     { "cet",   tZONE,     -HOUR (1) }, /* Central European */
+    { "cest",  tDAYZONE,     -HOUR (1) },      /* Central European Summer
*/
     { "met",   tZONE,     -HOUR (1) }, /* Middle European */
     { "mewt",  tZONE,     -HOUR (1) }, /* Middle European Winter */
     { "mest",  tDAYZONE,  -HOUR (1) }, /* Middle European Summer */
Comment 1 Jeff Johnson 2000-01-05 08:19:59 EST
Fixed in sh-utils-2.0-3. Thanks for the patch.

Note You need to log in before you can comment on or make changes to this bug.