3 ms·
If TZ is set properly then you don't need to change it twice a year. (man tzset for more info and examples of different values TZ can be set to. Mine is set to
by alexfoo 10y ago
If TZ is set properly then you don't need to change it twice a year.
(man tzset for more info and examples of different values TZ can be set to. Mine is set to "Europe/London" which handles the DST switches automatically.)
- kseistrup 10y agoAh yes, thanks for pointing that out!
- kseistrup 10y agoHm…, now that I read TZSET(3): Wouldn't that be TZ=:Europe/London It doesn't seem tzset() will accept the format TZ=Europe/London ?
- noselasd 10y agoYes, but " If the colon is omitted each of the above TZ formats will be tried." , so it'll be figured out even if the colon is missing.