bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Re: date timezone question


From: P
Subject: [PATCH] Re: date timezone question
Date: Sat, 08 May 2004 15:43:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124

address@hidden wrote:
address@hidden wrote:

Q1. Why is there a difference in the parsing of $TZ
    and --date ... timezone ?
Q2. Why is a warning not printed when an invalid $TZ is set?

$ TZ=America/Los_Angeles date
Wed Mar 31 07:21:51 PST 2004


Missing info:

$date --date "09:00 America/Los_Angeles"
date: invalid date `09:00 America/Los_Angeles'

$date --version
date (coreutils) 5.2.0

$rpm -q glibc
glibc-2.3.2-101


OK I've attached a patch that addresses question 1 above.
Note this is not for merging, just for disussion really.

In detail the patch allows one to to:
date --date "09:00 America/Los_Angeles"

cheers,
Pádraig.

Attachment: coreutils-5.2.0-getdate.diff
Description: TeXInfo document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]