groff-commit
[Top][All Lists]
Advanced

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

[groff] 14/24: [docs]: Fix Savannah #63509.


From: G. Branden Robinson
Subject: [groff] 14/24: [docs]: Fix Savannah #63509.
Date: Tue, 27 Dec 2022 04:22:44 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 6ab057057b4d91d57eb541bc28965f05896571a9
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Dec 25 17:06:21 2022 -0600

    [docs]: Fix Savannah #63509.
    
    * doc/groff.texi (Invoking groff, Built-in Registers):
    * man/groff.7.man (Writable predefined registers):
    * src/roff/groff/groff.1.man (Environment):
    * src/roff/troff/troff.1.man (Environment): Replace erroneous reference
      to ctime(3) with localtime(3).
    
    Fixes <https://savannah.gnu.org/bugs/?63509>.  Thanks to Bjarni Ingi
    Gislason for the report.
---
 ChangeLog                  | 11 +++++++++++
 doc/groff.texi             | 10 +++++-----
 man/groff.7.man            |  2 +-
 src/roff/groff/groff.1.man |  2 +-
 src/roff/troff/troff.1.man |  2 +-
 5 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 349632c87..2eb82cc7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2022-12-25  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * doc/groff.texi (Invoking groff, Built-in Registers):
+       * man/groff.7.man (Writable predefined registers):
+       * src/roff/groff/groff.1.man (Environment):
+       * src/roff/troff/troff.1.man (Environment): Replace erroneous
+       reference to ctime(3) with localtime(3).
+
+       Fixes <https://savannah.gnu.org/bugs/?63509>.  Thanks to Bjarni
+       Ingi Gislason for the report.
+
 2022-12-19  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [tests]: Fix potential problem(s) in trap handler.
diff --git a/doc/groff.texi b/doc/groff.texi
index 8e5d461cc..3710f2ec1 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -1416,7 +1416,7 @@ overrides @env{GROFF_TYPESETTER}.
 @tindex SOURCE_DATE_EPOCH@r{, environment variable}
 A timestamp (expressed as seconds since the Unix epoch) to use as the
 output creation timestamp in place of the current time.  The time is
-converted to human-readable form using @cite{ctime@r{(3)}} when the
+converted to human-readable form using @cite{localtime@r{(3)}} when the
 formatter starts up and stored in registers usable by documents and
 macro packages (@pxref{Built-in Registers}).
 
@@ -7670,10 +7670,10 @@ We present here a few built-in registers that are not 
described
 elsewhere in this manual; they have to do with invariant properties of
 GNU @code{troff}, or obtain information about the formatter's
 command-line options or the operating environment.  Date- and
-time-related registers are set to the local time as determined by
-@cite{ctime@r{(5)}} when the formatter launches.  This initialization
-can be overridden by @env{SOURCE_DATE_EPOCH} and @env{TZ}; see
-@ref{Environment}.
+time-related registers are set per the local time as determined by
+@cite{localtime@r{(3)}} when the formatter launches.  This
+initialization can be overridden by @env{SOURCE_DATE_EPOCH} and
+@env{TZ}; see @ref{Environment}.
 
 @table @code
 @item \n[.F]
diff --git a/man/groff.7.man b/man/groff.7.man
index d22702444..646c87488 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -5853,7 +5853,7 @@ sequences.
 .
 Date- and time-related registers are set to the local time as determined
 by
-.MR ctime 3
+.MR localtime 3
 when the formatter launches.
 .
 This initialization can be overridden by
diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man
index cb704ce66..1759a6835 100644
--- a/src/roff/groff/groff.1.man
+++ b/src/roff/groff/groff.1.man
@@ -1850,7 +1850,7 @@ A time stamp
 to use as the output creation time stamp in place of the current time.
 .
 The time is converted to human-readable form using
-.MR ctime 3
+.MR localtime 3
 when the formatter starts up and stored in registers usable by documents
 and macro packages.
 .
diff --git a/src/roff/troff/troff.1.man b/src/roff/troff/troff.1.man
index ad8d66210..5d7ba9586 100644
--- a/src/roff/troff/troff.1.man
+++ b/src/roff/troff/troff.1.man
@@ -842,7 +842,7 @@ A timestamp
 to use as the output creation timestamp in place of the current time.
 .
 The time is converted to human-readable form using
-.MR ctime 3
+.MR localtime 3
 when the formatter starts up and stored in registers usable by documents
 and macro packages.
 .



reply via email to

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