Ticket #12329

(current-time)'s Spec
Eröffnet am: 2008-04-10 14:08 Letztes Update: 2008-10-03 00:10

Auswertung:
(Anonym)
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

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.

Ticket-Verlauf (1/1 Historien)

2008-10-03 00:10 Aktualisiert von: None
Kommentar
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

Dateianhangliste

Keine Anhänge

Bearbeiten

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