texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Thu, 22 Feb 2024 15:19:56 -0500 (EST)

branch: master
commit 46a5ff60155b212b1b835eed378994d3c8ce457f
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Feb 22 21:14:26 2024 +0100

    * tp/Texinfo/Convert/Utils.pm (expand_today): use cdt with converter.
---
 ChangeLog                   | 4 ++++
 tp/Texinfo/Convert/Utils.pm | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 386daec21b..33b202008b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-02-22  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/Utils.pm (expand_today): use cdt with converter.
+
 2024-02-22  Gavin Smith <gavinsmith0123@gmail.com>
 
        * README-hacking: Update which gnulib modules now depend on gperf.
diff --git a/tp/Texinfo/Convert/Utils.pm b/tp/Texinfo/Convert/Utils.pm
index d2a7973835..222ede4778 100644
--- a/tp/Texinfo/Convert/Utils.pm
+++ b/tp/Texinfo/Convert/Utils.pm
@@ -103,8 +103,8 @@ sub expand_today($)
   # See https://reproducible-builds.org/specs/source-date-epoch/.
 
   $year += ($year < 70) ? 2000 : 1900;
-  return $self->gdt('{month} {day}, {year}',
-          { 'month' => $self->gdt($month_name[$mon]),
+  return $self->cdt('{month} {day}, {year}',
+          { 'month' => $self->cdt($month_name[$mon]),
             'day' => {'text' => $mday}, 'year' => {'text' => $year} });
 }
 



reply via email to

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