待辦事項 #12329

(current-time)'s Spec
啟用日期: 2008-04-10 14:08 最後更新: 2008-10-03 00:10

回報者:
(匿名)
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

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.

Ticket History (1/1 Histories)

2008-10-03 00:10 Updated by: None
評語
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

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入