[latex3-commits] [git/LaTeX3-latex3-latex3] master: Use l3sys year/month/day instead of primitives in l3doc (d55607c)

Bruno Le Floch bruno at le-floch.fr
Fri Mar 1 18:56:43 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/d55607c52913c446e9cef2a6f67c2b7f47013337

>---------------------------------------------------------------

commit d55607c52913c446e9cef2a6f67c2b7f47013337
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Fri Mar 1 18:56:43 2019 +0100

    Use l3sys year/month/day instead of primitives in l3doc


>---------------------------------------------------------------

d55607c52913c446e9cef2a6f67c2b7f47013337
 l3kernel/l3doc.dtx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index 74c6525..ed0f60d 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -2429,7 +2429,7 @@ and all files in that bundle must be distributed together.
   {
     \@@_date_set:Nn #1 {#2}
     \exp_args:No \@@_date_compare:nNnT
-      {#1} > { \tex_year:D - \tex_month:D - \tex_day:D }
+      {#1} > { \c_sys_year_int - \c_sys_month_int - \c_sys_day_int }
       {
         \msg_error:nnxx { l3doc } { future-date }
           { \tl_to_str:N \l_@@_macro_argument_tl }
@@ -2450,7 +2450,7 @@ and all files in that bundle must be distributed together.
   {
     \@@_date_set:Nn \l_@@_tmpa_tl {#1}
     \exp_args:No \@@_date_compare:nNnT
-      { \l_@@_tmpa_tl } < { \tex_year:D - \tex_month:D - \tex_day:D }
+      { \l_@@_tmpa_tl } < { \c_sys_year_int - \c_sys_month_int - \c_sys_day_int }
       {
         \msg_error:nnxx { l3doc } { deprecated-function }
           { \tl_to_str:N \l_@@_macro_argument_tl }





More information about the latex3-commits mailing list