From 52d12453a9941ff91fbcaf1b02914efcb5a7621b Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 4 Oct 1999 04:51:08 +0000 Subject: 19991004 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- missing/strftime.c | 1 + 1 file changed, 1 insertion(+) (limited to 'missing') diff --git a/missing/strftime.c b/missing/strftime.c index cc3f1a807..6bce49024 100644 --- a/missing/strftime.c +++ b/missing/strftime.c @@ -425,6 +425,7 @@ strftime(char *s, size_t maxsize, const char *format, const struct tm *timeptr) */ off = -(daylight ? timezone : altzone) / 60; #else /* !HAVE_TZNAME */ + gettimeofday(&tv, &zone); off = -zone.tz_minuteswest; #endif /* !HAVE_TZNAME */ #endif /* !HAVE_TM_ZONE */ -- cgit