Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 13:32:51 +1300
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Randy Bush <randy@psg.com>
Cc:        Mike Meyer <mwm@mired.org>, questions@freebsd.org
Subject:   Re: digital clock
Message-ID:  <20011105133251.A26239@jonc.itouch>
In-Reply-To: <E160VcP-000Fkn-00@rip.psg.com>; from randy@psg.com on Sun, Nov 04, 2001 at 02:19:53PM -0800
References:  <28912339@toto.iv> <15331.12298.236449.253690@guru.mired.org> <E160VcP-000Fkn-00@rip.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 04, 2001 at 02:19:53PM -0800, Randy Bush wrote:
> >> i am looking for an x-based (fvwm2) 24-hour digital clock.  i want to
> >> display what time it is
> >>   o locally
> >>   o japan
> >>   o europe
> > What's wrong with xclock, running it (in bash) as
> >         xclock -d &
> >         TZ=MET xclock -d &
> >         TZ=JST xclock -d &
> 
> aside from xclock not being widget-aware in digital mode, and lots of other
> stoopid problems about the digital clocks in ../ports/x11-clocks
> 
>     % TZ=JST date
>     Sun Nov  4 22:18:09 GMT 2001

That should be:

	jonc-~,1:29pm> env TZ=Asia/Tokyo date
	Mon Nov  5 09:30:02 JST 2001

Set the TZ to be whatever timzone file to use relative to
/usr/share/zoneinfo

Cheers.
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
-----------------------------------------------------------------------
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011105133251.A26239>