Re: Convert between timezones

2015-07-31 Thread Akira Li
Thomas 'PointedEars' Lahn writes: > [X-Post & F'up2 comp.unix.shell] > > Chris Angelico wrote: > >> On Fri, Jul 31, 2015 at 6:15 PM, Cameron Simpson wrote: >>> Actually, bash has no timezone support but the date command _does_, and >>> probably neither better nor worse than Python. All one has t

Convert between timezones (was: How to re-write this bash script in Python?)

2015-07-31 Thread Thomas 'PointedEars' Lahn
[X-Post & F'up2 comp.unix.shell] Chris Angelico wrote: > On Fri, Jul 31, 2015 at 6:15 PM, Cameron Simpson wrote: >> Actually, bash has no timezone support but the date command _does_, and >> probably neither better nor worse than Python. All one has to do is set >> the TZ environment variable, e