From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Newsgroups: gmane.emacs.bugs Subject: bug#15816: 24.3; (format-time-string "%h") returns "" instead of month Date: Wed, 11 Dec 2013 15:42:10 +0100 Message-ID: <1546747.7kdV0yWjTE@descartes> References: <8361s57867.fsf@gnu.org> <1906941.TC3lM9tOaX@descartes> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1386772993 10193 80.91.229.3 (11 Dec 2013 14:43:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2013 14:43:13 +0000 (UTC) Cc: andrea.rossetti@gmail.com, 15816@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 11 15:43:18 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 1Vql0P-000871-Hz for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Dec 2013 15:43:17 +0100 Original-Received: from localhost ([::1]:57676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vql0P-0001ja-2A for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Dec 2013 09:43:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vql0G-0001jS-Ig for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2013 09:43:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vql0B-0003e7-6R for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2013 09:43:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vql0B-0003e3-2m for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2013 09:43:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vql0A-0007Ft-Li for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2013 09:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?R=C3=BCdiger?= Sonderfeld Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2013 14:43:02 +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.138677297827879 (code B ref 15816); Wed, 11 Dec 2013 14:43:02 +0000 Original-Received: (at 15816) by debbugs.gnu.org; 11 Dec 2013 14:42:58 +0000 Original-Received: from localhost ([127.0.0.1]:43080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vql06-0007Fb-5h for submit@debbugs.gnu.org; Wed, 11 Dec 2013 09:42:58 -0500 Original-Received: from ptmx.org ([178.63.28.110]:35661) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vql03-0007FR-DB for 15816@debbugs.gnu.org; Wed, 11 Dec 2013 09:42:56 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id 134142289D; Wed, 11 Dec 2013 15:42:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4S2xxLBBNYhn; Wed, 11 Dec 2013 15:42:36 +0100 (CET) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id 2EFDC211A0; Wed, 11 Dec 2013 15:42:28 +0100 (CET) User-Agent: KMail/4.11.2 (Linux/3.11.0-12-generic; KDE/4.11.2; x86_64; ; ) In-Reply-To: <1906941.TC3lM9tOaX@descartes> 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:81755 Archived-At: Pushed the change to trunk. Regards, R=C3=BCdiger On Saturday 16 November 2013 01:01:32 R=C3=BCdiger Sonderfeld wrote: > On Wednesday 06 November 2013 19:26:56 Eli Zaretskii wrote: > > All of them are supported, with the single exception of %r. >=20 > I'd suggest documenting %F then. It is the date format for ISO 8601.= >=20 > -- 8< ---------------------------------------------------------- >8 -= - >=20 > * editfns.c (Fformat_time_string): Doc fix. (Bug#15816) >=20 > --- > src/ChangeLog | 4 ++++ > src/editfns.c | 3 ++- > 2 files changed, 6 insertions(+), 1 deletion(-) >=20 > diff --git a/src/ChangeLog b/src/ChangeLog > index 4c3811d..7921b96 100644 > --- a/src/ChangeLog > +++ b/src/ChangeLog > @@ -1,3 +1,7 @@ > +2013-11-16 R=C3=83=C2=BCdiger Sonderfeld > + > +=09* editfns.c (Fformat_time_string): Doc fix. (Bug#15816) > + > 2013-11-15 Paul Eggert >=20 > =09* data.c: Work around bogus GCC diagnostic about shift count. > diff --git a/src/editfns.c b/src/editfns.c > index 277e5b6..f17b02a 100644 > --- a/src/editfns.c > +++ b/src/editfns.c > @@ -1722,6 +1722,7 @@ TIME is specified as (HIGH LOW USEC PSEC), as r= eturned > by %c is the locale's date and time format. > %x is the locale's "preferred" date format. > %D is like "%m/%d/%y". > +%F is the ISO 8601 date format (like "%Y-%m-%d"). >=20 > %R is like "%H:%M", %T is like "%H:%M:%S", %r is like "%I:%M:%S %p".= > %X is the locale's "preferred" time format. > @@ -1740,7 +1741,7 @@ but takes up at least N (a number) positions. > %EX is a locale's alternative version of %X; > %OX is like %X, but uses the locale's number symbols. >=20 > -For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z". > +For example, to produce full ISO 8601 format, use "%FT%T%z". >=20 > usage: (format-time-string FORMAT-STRING &optional TIME UNIVERSAL) = */) > (Lisp_Object format_string, Lisp_Object timeval, Lisp_Object unive= rsal)