|
#include "time_header.h"
|
|
|
|
void update_tzname(struct state const *sp, struct ttinfo const *ttisp)
|
|
{
|
|
tzname[ttisp->tt_isdst] = (char *) &sp->chars[ttisp->tt_abbrind];
|
|
|
|
if (!ttisp->tt_isdst)
|
|
timezone = - ttisp->tt_gmtoff;
|
|
|
|
if (ttisp->tt_isdst)
|
|
altzone = - ttisp->tt_gmtoff;
|
|
}
|