bug-bash
[Top][All Lists]
Advanced

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

Re: printf builtin retains timezone from un-set TZ environment variable


From: Chet Ramey
Subject: Re: printf builtin retains timezone from un-set TZ environment variable
Date: Sun, 14 Jul 2019 15:07:07 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

On 7/13/19 1:31 PM, Travis Everett wrote:

> Bash Version: 5.0
> Patch Level: 7
> Release Status: release
> 
> *Description:*
> I've noticed that a timezone explicitly set in the TZ environment variable
> can get cached (if any date-using command/builtin is run) and then show up
> (at least) in dates produced by the printf builtin's "%(...)T" formats even
> after the TZ variable is unset.

Thanks for the report. It's an easy fix.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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