This is done by setting the TZ variable prior to calling localtime() or ctime().
There are a few calls to ctime()/localtime() which doesn’t adjust for time zone offset. This patch affects the behavior of these since the TZ variable is global.
Presently unused but intended to supersede the current time zone offset.
The advantage of a string is that it can be set to something like Europe/Copenhagen and thereby adapt to daylight savings time.