Package: dpkg-dev-el
Version: 26.5-2

When writing README.Debian or so, readme-debian.el insert time string
at the end of file, but the time string is localized one. For example, 
in ja_JP locale, it puts as follows:

 -- Fumitoshi UKAI <[EMAIL PROTECTED]>, 水, 26  4月 2006 00:31:06 +0900

I think it should not use localized names.
This is patch to use "C" locale to format time string.

--- readme-debian.el.orig       2006-04-26 00:40:07.000000000 +0900
+++ readme-debian.el    2006-04-26 00:40:25.000000000 +0900
@@ -58,7 +58,8 @@
             " -- "
             debian-changelog-full-name
             " <" debian-changelog-mailing-address ">, "
-             (format-time-string "%a, %e %b %Y %T %z" (current-time))))
+            (let ((system-time-locale "C"))
+              (format-time-string "%a, %e %b %Y %T %z" (current-time)))))
     (if (and (= (point)(point-max)) (not (bolp)))
        (insert "\n"))))
 

Regards,
Fumitoshi UKAI


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to