set didtz (rob)

This commit is contained in:
rsc 2006-05-30 16:47:24 +00:00
parent 403fb41e23
commit 6bd2526b02

View file

@ -17,6 +17,7 @@ dotz(void)
if(didtz)
return;
didtz = 1;
t = time(0);
strftime(tzone, sizeof tzone, "%Z", localtime(&t));
tm = *localtime(&t); /* set local time zone field */