Develop and Download Open Source Software

Ticket #12329

Open Date: 2008-04-10 14:08

Last Update: 2008-10-03 00:10

(current-time)'s Spec

Reporter:(Anonymous)Owner:(None)
Priority:5 - MediumMileStone:(None)
Type:BugsSeverity:5 - Medium
Component:(None)Status:Open
ResolutionNone

Details

Eval'ing of the following
(let ((system-time-locale "C"))
(format-time-string "%a, %d %b %Y %T %z (%Z)"
(current-time)))
does not correctly return
"Thu, 10 Apr 2008 14:02:11 +0900 (JST)"
but
"Thu, 10 Apr 2008 14:02:11 +0900 ()"
on 22.2 and 22.1.92, namely, no string returns
corresponding to %Z. It did on 22.1.

Attach File

File ListNo attachments.
Add New attachment
Add attachment filesPlease login to add new attachment

Ticket History - 1/1 Histories

2008-10-03 00:10 Update by: None

Comment

Logged In: NO

Emacs 22.3 was already released.
Emacs 22.3 has this problem, too.

I make sure that this problem is resolved (on Emacs 22.3).

Please a next patch. And Recompile.

--- nt/config.nt.original 2008-01-07 17:15:15.000000000 +0900
+++ nt/config.nt 2008-10-02 23:47:23.100404400 +0900
@@ -196,8 +196,8 @@
#undef HAVE_CLOSEDIR

#undef TM_IN_SYS_TIME
-#undef HAVE_TM_ZONE
-#undef HAVE_TZNAME
+#define HAVE_TM_ZONE 1
+#define HAVE_TZNAME 1

#undef const

@@ -234,7 +234,7 @@
#undef HAVE_EUIDACCESS
#undef HAVE_GETPAGESIZE
#undef HAVE_GET_CURRENT_DIR_NAME
-#undef HAVE_TZSET
+#define HAVE_TZSET 1
#undef HAVE_SETLOCALE
#undef HAVE_UTIMES
#undef HAVE_SETRLIMIT


Add Comment/Update #12329 ((current-time)'s Spec)

You are not logged in. If you do not want to anonymous write, please login. » Login