From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15816: 24.3; (format-time-string "%h") returns "" instead of month Date: Wed, 06 Nov 2013 12:16:00 +0200 Message-ID: <83d2md7s4f.fsf@gnu.org> References: <84mwlics2u.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1383733040 24713 80.91.229.3 (6 Nov 2013 10:17:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2013 10:17:20 +0000 (UTC) Cc: 15816-done@debbugs.gnu.org To: andrea.rossetti@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 06 11:17:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ve0Ar-0001rD-Hi for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2013 11:17:21 +0100 Original-Received: from localhost ([::1]:60615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve0Aq-0007Os-TP for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2013 05:17:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve0Ah-0007Hu-EF for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2013 05:17:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve0AZ-0002dz-On for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2013 05:17:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve0AZ-0002du-LU for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2013 05:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ve0AZ-0000EZ-7R for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2013 05:17:03 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Nov 2013 10:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 15816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 15816@debbugs.gnu.org, eliz@gnu.org, andrea.rossetti@gmail.com Original-Received: via spool by 15816-done@debbugs.gnu.org id=D15816.1383732970804 (code D ref 15816); Wed, 06 Nov 2013 10:17:02 +0000 Original-Received: (at 15816-done) by debbugs.gnu.org; 6 Nov 2013 10:16:10 +0000 Original-Received: from localhost ([127.0.0.1]:36695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve09h-0000Ct-NA for submit@debbugs.gnu.org; Wed, 06 Nov 2013 05:16:10 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:50467) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve09e-0000CK-J0 for 15816-done@debbugs.gnu.org; Wed, 06 Nov 2013 05:16:07 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MVU00K0071Y9R00@a-mtaout20.012.net.il> for 15816-done@debbugs.gnu.org; Wed, 06 Nov 2013 12:16:00 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVU00JWU76NMYB0@a-mtaout20.012.net.il>; Wed, 06 Nov 2013 12:16:00 +0200 (IST) In-reply-to: <84mwlics2u.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80071 Archived-At: > 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.