diff options
author | RĂ¼diger Sonderfeld <ruediger@c-plusplus.de> | 2013-12-11 15:42:55 +0100 |
---|---|---|
committer | RĂ¼diger Sonderfeld <ruediger@c-plusplus.de> | 2013-12-11 15:42:55 +0100 |
commit | 4ec52e2f8c1697994618b4bdfd013659f6defb1b (patch) | |
tree | 4ff18691f75a2dcf86337d14aee1314f6a953e8e /src/editfns.c | |
parent | 4b72c12bf8e7231aba333ee1c2c354c35c0dd77c (diff) | |
download | emacs-4ec52e2f8c1697994618b4bdfd013659f6defb1b.tar.gz |
Fix docstring of format-time-string to include %F.
See discussion of Bug#15816.
* editfns.c (Fformat_time_string): Mention %F in the doc.
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index 8e47d1f82e4..f67b95a8e81 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1723,6 +1723,7 @@ by text that describes the specified date and time in TIME: %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 @@ The modifiers are `E' and `O'. For certain characters X, %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) |