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 19:26:56 +0200 Message-ID: <8361s57867.fsf@gnu.org> References: <84mwlics2u.fsf@gmail.com> <83d2md7s4f.fsf@gnu.org> <3369232.afZtqa4znz@descartes> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1383758896 21406 80.91.229.3 (6 Nov 2013 17:28:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2013 17:28:16 +0000 (UTC) Cc: andrea.rossetti@gmail.com, 15816@debbugs.gnu.org To: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 06 18:28:17 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 1Ve6tt-0006wl-C5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2013 18:28:17 +0100 Original-Received: from localhost ([::1]:35174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve6ts-0002B4-KP for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2013 12:28:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve6tj-0002Av-KU for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2013 12:28:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ve6te-0005U7-DP for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2013 12:28:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ve6te-0005U3-9p for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2013 12:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ve6td-0004z7-Sw for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2013 12:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Nov 2013 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15816-submit@debbugs.gnu.org id=B15816.138375882919070 (code B ref 15816); Wed, 06 Nov 2013 17:28:01 +0000 Original-Received: (at 15816) by debbugs.gnu.org; 6 Nov 2013 17:27:09 +0000 Original-Received: from localhost ([127.0.0.1]:37684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve6sn-0004xW-46 for submit@debbugs.gnu.org; Wed, 06 Nov 2013 12:27:09 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:51018) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve6sj-0004wy-9Q for 15816@debbugs.gnu.org; Wed, 06 Nov 2013 12:27:06 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MVU00100QKYFB00@a-mtaout20.012.net.il> for 15816@debbugs.gnu.org; Wed, 06 Nov 2013 19:26:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVU0014AR4XKQ00@a-mtaout20.012.net.il>; Wed, 06 Nov 2013 19:26:58 +0200 (IST) In-reply-to: <3369232.afZtqa4znz@descartes> 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:80083 Archived-At: > From: RĂ¼diger Sonderfeld > Cc: andrea.rossetti@gmail.com, 15816-done@debbugs.gnu.org > Date: Wed, 06 Nov 2013 14:31:04 +0100 > > I just compared the docstring to the manpage of strftime on GNU/Linux and the > following symbols are not ANSI C > > - %C is SU > - %G,%g are TZ > - %h is SU (%b) > - %e is SU (%d with blanks) > - %u is SU > - %V is SU > - %k is TZ (%H with blanks) > - %l is TZ (%I with blanks) > - %N not in manpage or glibc manual > - %z is SU > - %s is TZ > - %D is SU ("%m/%d/%y", should not be used) > - %T is SU ("%H:%M:%S") > - %R is SU ("%H:%M") > - %r is SU ("%I:%M:%S %p") > - %t is SU (\t) > - %n is SU (\n) > > (SU :: Single UNIX Specification and TZ :: Olson's timezone package) > > Maybe we should not mention %h, %D, %T, %R, %r, %t, %n at all because these > can be replaced by the portable alternatives mentioned. The rest might be a > bit tricky to replace. Could you try which of them work on Windows at all? > (Sorry I don't have a current Windows Emacs available.) All of them are supported, with the single exception of %r.