Using the strftime.c from emacs-21.4 unchanged in XEmacs-21.5 works, and gives the correct result.  It would need cleanup for Mule, I suspect.

Robert

On 8/24/06, Adrian Aichner <adrian@xemacs.org> wrote:

Does anyone want to look into fixing this?

Best regards!

Adrian




---------- Forwarded message ----------
From: Michael Welle <m.welle@gmx.net>
To:
Date: Thu, 24 Aug 2006 17:37:35 +0200
Subject: format-time-string
Hi,

I guess XEmacs doesn't support the same argument modifiers to the
format-time-string function than Emacs does. In muse-blosxom.el for
example (format-time-string "%4Y-%2m-%2d-%2H-%2M") isn't evaluated to
a time string. But (format-time-string "%Y-%m-%d-%H-%M") has the
(nearly) expected result. This may solve the problem:

stella:~/elisp/muse/lisp> diff muse-blosxom.el muse-blosxom.el~
235,240c235,236
<   (insert "#date "
<     (if  (featurep 'xemacs)
<       (format-time-string "%Y-%m-%d-%H-%M")
<       (format-time-string "%4Y-%2m-%2d-%2H-%2M")
<     )
<      "\n#title " title)
---
>   (insert "#date " (format-time-string "%4Y-%2m-%2d-%2H-%2M")
>           "\n#title " title)


Maybe one can find a more centralized solution.

Michael




--
biff4emacsen - A biff-like tool for (X)Emacs
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html






--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/