任务单 #12329

(current-time)'s Spec
开放日期: 2008-04-10 14:08 最后更新: 2008-10-03 00:10

报告人:
(匿名)
属主:
(无)
类型:
状态:
开启
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:

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.

任务单历史 (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. » 登录名