From: Eli Zaretskii <eliz@gnu.org>
To: andrea.rossetti@gmail.com
Cc: 15816-done@debbugs.gnu.org
Subject: bug#15816: 24.3; (format-time-string "%h") returns "" instead of month
Date: Wed, 06 Nov 2013 12:16:00 +0200 [thread overview]
Message-ID: <83d2md7s4f.fsf@gnu.org> (raw)
In-Reply-To: <84mwlics2u.fsf@gmail.com>
> From: andrea.rossetti@gmail.com
> Date: Wed, 06 Nov 2013 01:05:45 +0100
>
> when I execute
>
> (format-time-string "%h")
>
> I get a return value of "" instead of "nov" meaning
> November, the current date month. On the contrary,
> execution of
>
> (format-time-string "%b")
>
> correctly returns "nov". I suppose this is
> due to the runtime of my Windows installation
> (an ordinary Windows 7 64-bit) not supporting
> C99 format modifiers of the C function "strftime".
Indeed, Windows version of strftime doesn't support %h.
> If it affects other users too, my suggestion is to
> simply add a note in the docstring of format-time-string,
> saying that modifier "%h" requires a C99-compliant
> runtime.
Done.
next prev parent reply other threads:[~2013-11-06 10:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-06 0:05 bug#15816: 24.3; (format-time-string "%h") returns "" instead of month andrea.rossetti
2013-11-06 0:48 ` Stefan Monnier
2013-11-06 6:46 ` Bastien
2013-11-06 10:16 ` Eli Zaretskii
2013-11-06 10:16 ` Eli Zaretskii [this message]
2013-11-06 13:31 ` Rüdiger Sonderfeld
2013-11-06 14:16 ` Andreas Schwab
2013-11-06 17:12 ` Stefan Monnier
2013-11-06 17:26 ` Eli Zaretskii
2013-11-16 0:01 ` Rüdiger Sonderfeld
2013-12-11 14:42 ` Rüdiger Sonderfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83d2md7s4f.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=15816-done@debbugs.gnu.org \
--cc=andrea.rossetti@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).