diff options
| author | RĂ¼diger Sonderfeld | 2013-12-11 15:42:55 +0100 |
|---|---|---|
| committer | RĂ¼diger Sonderfeld | 2013-12-11 15:42:55 +0100 |
| commit | 4ec52e2f8c1697994618b4bdfd013659f6defb1b (patch) | |
| tree | 4ff18691f75a2dcf86337d14aee1314f6a953e8e /src/editfns.c | |
| parent | 4b72c12bf8e7231aba333ee1c2c354c35c0dd77c (diff) | |
| download | emacs-4ec52e2f8c1697994618b4bdfd013659f6defb1b.tar.gz emacs-4ec52e2f8c1697994618b4bdfd013659f6defb1b.zip | |
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: | |||
| 1723 | %c is the locale's date and time format. | 1723 | %c is the locale's date and time format. |
| 1724 | %x is the locale's "preferred" date format. | 1724 | %x is the locale's "preferred" date format. |
| 1725 | %D is like "%m/%d/%y". | 1725 | %D is like "%m/%d/%y". |
| 1726 | %F is the ISO 8601 date format (like "%Y-%m-%d"). | ||
| 1726 | 1727 | ||
| 1727 | %R is like "%H:%M", %T is like "%H:%M:%S", %r is like "%I:%M:%S %p". | 1728 | %R is like "%H:%M", %T is like "%H:%M:%S", %r is like "%I:%M:%S %p". |
| 1728 | %X is the locale's "preferred" time format. | 1729 | %X is the locale's "preferred" time format. |
| @@ -1741,7 +1742,7 @@ The modifiers are `E' and `O'. For certain characters X, | |||
| 1741 | %EX is a locale's alternative version of %X; | 1742 | %EX is a locale's alternative version of %X; |
| 1742 | %OX is like %X, but uses the locale's number symbols. | 1743 | %OX is like %X, but uses the locale's number symbols. |
| 1743 | 1744 | ||
| 1744 | For example, to produce full ISO 8601 format, use "%Y-%m-%dT%T%z". | 1745 | For example, to produce full ISO 8601 format, use "%FT%T%z". |
| 1745 | 1746 | ||
| 1746 | usage: (format-time-string FORMAT-STRING &optional TIME UNIVERSAL) */) | 1747 | usage: (format-time-string FORMAT-STRING &optional TIME UNIVERSAL) */) |
| 1747 | (Lisp_Object format_string, Lisp_Object timeval, Lisp_Object universal) | 1748 | (Lisp_Object format_string, Lisp_Object timeval, Lisp_Object universal) |