date(1) doesn't display a timezone?

AJ Reins tbisp@yahoo.com
Thu Dec 5 18:50:00 GMT 2002


--- Eric De Mund <ead@ixian.com> wrote:
> Hello,
> 
> Have I misconfigured environment variables in both bash(1) and zsh(1),
> or is date(1) not returning a timezone for other folks, too? I'm running
> what I believe to be a complete cygwin installation from early October
> or so.
> 
>     % echo $TZ
>     PST8PDT
>     % date
>     Thu Dec  5 14:42:48  2002
>     % date -R
>     Thu,  5 Dec 2002 14:43:30 -0800
>     % date +%z
>     -0800
>     % date +%Z
> 
>     %
> 
> Regards,
> Eric
> 
> p.s. In case it provides useful information about my configuration,
> cygcheck(1) reports:
> 
>     % cygcheck --sysinfo

I HAD the same problem, so configured sh-utils for debug and saw that the problem
disappeared. I have no idea why the version distributed doesn't show the timezone
whilst the version I built does.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list