Ticket #12329

(current-time)'s Spec
Date d'ouverture: 2008-04-10 14:08 Dernière mise à jour: 2008-10-03 00:10

Rapporteur:
(Anonyme)
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun

Détails

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
Commentaire
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

Modifier

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