[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b81bb48: Document format-time-string %q
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master b81bb48: Document format-time-string %q |
Date: |
Sun, 20 Nov 2016 00:16:45 +0000 (UTC) |
branch: master
commit b81bb485eaaa42f93f36988b8b17576f489b988d
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Document format-time-string %q
* doc/lispref/os.texi (Time Parsing):
* etc/NEWS: Document new %q functionality taken from gnulib.
---
doc/lispref/os.texi | 2 ++
etc/NEWS | 3 +++
2 files changed, 5 insertions(+)
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 616d1e7..3b649d2 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1525,6 +1525,8 @@ fewer digits, use @samp{%3N} for milliseconds, @samp{%6N}
for
microseconds, etc. Any excess digits are discarded, without rounding.
@item %p
This stands for @samp{AM} or @samp{PM}, as appropriate.
address@hidden %q
+This stands for the calendar quarter (1--4).
@item %r
This is a synonym for @samp{%I:%M:%S %p}.
@item %R
diff --git a/etc/NEWS b/etc/NEWS
index bd83c60..21cda7c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -689,6 +689,9 @@ ABBR is a time zone abbreviation. The affected functions
are
'current-time-string', 'current-time-zone', 'decode-time',
'format-time-string', and 'set-time-zone-rule'.
++++
+** 'format-time-string' now formats "%q" to the calendar quarter.
+
** New built-in function 'mapcan' which avoids unnecessary consing (and garbage
collection).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b81bb48: Document format-time-string %q,
Paul Eggert <=