about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/mod_stat.yo2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a3e6497c6..cebeeb385 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-02-22  Mikael Magnusson  <mikachu@gmail.com>
+
+	* 49769: Doc/Zsh/mod_stat.yo: Mention how to show nanosecond
+	precision
+
 2022-02-20  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 49728: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg:
diff --git a/Doc/Zsh/mod_stat.yo b/Doc/Zsh/mod_stat.yo
index 9caed1e45..b591d4003 100644
--- a/Doc/Zsh/mod_stat.yo
+++ b/Doc/Zsh/mod_stat.yo
@@ -118,6 +118,8 @@ formatting of the time elements.  The format string supports all of the
 zsh extensions described in
 ifzman(the section EXPANSION OF PROMPT SEQUENCES in zmanref(zshmisc))\
 ifnzman(noderef(Prompt Expansion)).
+In particular, tt(-F %s.%N) can be used to show timestamps with nanosecond
+precision if supported by the system.
 The tt(-s) option is implied.
 )
 item(tt(-g))(