Richard Jones' Log: Timezone fun
Just setting up some convenience aliases so I can deal better with timezones, I discovered this ...
rjones@l-rjones:$ TZ=BST date Wed Aug 20 05:13:00 UTC 2008 rjones@l-rjones:~$ TZ=GB date Wed Aug 20 06:13:40 BST 2008 rjones@l-rjones:~$
So it doesn't recognise the timezone TZ=BST but it displays the Great Britain time as "BST" :)
The convenience aliases, BTW, are:
alias edate="TZ=US/Eastern date" alias wdate="TZ=US/Western date" alias ukdate="TZ=GB date"
'cos I'm sick of trying to do this in my head (and getting it wrong) and because the few GUI programs out there suck.