diff options
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/date.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib9/date.c b/src/lib9/date.c index c299202e..b4e4484c 100644 --- a/src/lib9/date.c +++ b/src/lib9/date.c @@ -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 */ |