[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time zone problem in cygwin
From: |
Angelo Graziosi |
Subject: |
Re: Time zone problem in cygwin |
Date: |
Fri, 06 Feb 2009 17:29:39 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (Windows/20081209) |
Ken Brown wrote:
...and the time zone is off by 4 hours
Does it make any difference, if you build Emacs with/without this patch:
-----------------
diff -Naur emacs.orig/src/strftime.c emacs/src/strftime.c
--- emacs.orig/src/strftime.c 2007-01-14 04:24:37.000000000 +0100
+++ emacs/src/strftime.c 2008-11-27 09:42:03.109375000 +0100
@@ -54,7 +54,7 @@
# endif
#endif
#if HAVE_TZNAME
-#ifndef USE_CRT_DLL
+#if !defined (USE_CRT_DLL) && !defined (CYGWIN)
extern char *tzname[];
#endif
#endif
-----------------
In my case (I build 'with') the difference is 2 hours:
Emacs says that are 3.22 PM, instead they are 17:22. If Emacs has to
print the Greenwich Time, then it should be 16.22 (but perhaps I haven't
understood how time works...)
Cheers,
Angelo.