[ic] small 'time' question

Kevin Walsh interchange-users@interchange.redhat.com
Fri Mar 22 02:39:01 2002


> 
> I have the correct time in my server (in TX = CST)  
> for example right now = 
> 
> [root@ensim /root]# date
> Thu Mar 21 11:27:30 CST 2002
> [root@ensim /root]#
> 
> However in the shopping cart it says:
> 21 March 2002 17:28:59 
> .. and when Im getting orders it adds the 'UTC' to the time.  All other
> applications are using the correct time, but IC says this.  What
> configuration do I need to change for IC to pick up the current server
> time instead of the UTC format?
> 
I assume you start Interchange from some form of /etc/init.d/interchange
startup script.  If so, add a line that says "TZ=CST", or whatever,
in there.  I believe the both of the following are correct TZ setting
for Texas, USA:

    TZ=America/Chicago
    export TZ

or:

    TZ=CST6CDT
    export TZ

Something is wrong with your OS setup if this isn't happening
automatically.  The above is a workaround.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/