Chet Ramey wrote:
> Julian Mehnle wrote:
> > > > Description:
> > > > The history timestamping feature of Bash 3.0 does not respect the
> > > > TZ (timezone) environment variable.  It erroneously always uses the
> > > > system clock's configured timezone.
> [...]
>
> Do you understand that strftime() performs the equivalent of getenv()
> to discover the value of $TZ?  And that bash's table of shell variables
> is different from the list `environ' points to?

Ok, now I understand the issue.  Thanks for explaining it to me.

> I'm not really interested in reimplementing the C library.  If the
> implementation of strftime() prevents bash from providing it the correct
> value for $TZ, so be it.

I see.  Too bad that there's no simple solution.

Julian.

Attachment: pgpiz5UXU5WyL.pgp
Description: PGP signature

_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to