date and TZ

Alain M. alainm at pobox.com
Mon Sep 22 22:17:42 UTC 2008


Hi, I just found something, it works if I issue:
  TZ=BST3 date

it also works if I set, at the console:
  export TZ=BST3
  date

so the problem seams that I am not setting TZ in the right environment...

Alain

Alain M. escreveu:
> I just spent a couple of hours reading, with google's help, that 
> timezone is not a Bususybox problem, that it is uCLibc, that I should 
> set the /etc/TZ file, but but I cannot get the date command to work
> 
> What I have done: in /etc/init.d/rcS I have:
>    export TZ=BST-3
> in file /etc/TZ
>    TZ=BST-3
> and date returns
>    Mon Sep 22 21:43:14 UTC 2008
> Busubox is compile with static uCLibc
> 
> Please Help, maybe this is not tecnicaly a buzybix config problem byt 
> how do I get the DATE comand to work???
> 
> Thanks,
> Alain
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
> 
> 



More information about the busybox mailing list