emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115460: Fix docstring of format-time-string to incl


From: Rüdiger Sonderfeld
Subject: [Emacs-diffs] trunk r115460: Fix docstring of format-time-string to include %F.
Date: Wed, 11 Dec 2013 14:43:51 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115460
revision-id: address@hidden
parent: address@hidden
committer: Rüdiger Sonderfeld <address@hidden>
branch nick: trunk
timestamp: Wed 2013-12-11 15:42:55 +0100
message:
  Fix docstring of format-time-string to include %F.
  
  See discussion of Bug#15816.
  
  * editfns.c (Fformat_time_string): Mention %F in the doc.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/editfns.c                  editfns.c-20091113204419-o5vbwnq5f7feedwu-255
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-12-11 10:03:46 +0000
+++ b/src/ChangeLog     2013-12-11 14:42:55 +0000
@@ -1,3 +1,7 @@
+2013-12-11  Rüdiger Sonderfeld  <address@hidden>
+
+       * editfns.c (Fformat_time_string): Mention %F in the doc.
+
 2013-12-11  Martin Rudalics  <address@hidden>
 
        * window.c (resize_frame_windows): Don't return immediately when

=== modified file 'src/editfns.c'
--- a/src/editfns.c     2013-11-29 01:22:40 +0000
+++ b/src/editfns.c     2013-12-11 14:42:55 +0000
@@ -1723,6 +1723,7 @@
 %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").
 
 %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.
@@ -1741,7 +1742,7 @@
 %EX is a locale's alternative version of %X;
 %OX is like %X, but uses the locale's number symbols.
 
-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".
 
 usage: (format-time-string FORMAT-STRING &optional TIME UNIVERSAL)  */)
   (Lisp_Object format_string, Lisp_Object timeval, Lisp_Object universal)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]