[latex3-commits] [l3svn] r6847 - Correct l3doc detection of deprecated commands

noreply at latex-project.org noreply at latex-project.org
Tue Feb 7 16:05:45 CET 2017


Author: bruno
Date: 2017-02-07 16:05:44 +0100 (Tue, 07 Feb 2017)
New Revision: 6847

Modified:
   trunk/l3kernel/l3doc.dtx
   trunk/l3kernel/l3sort.dtx
Log:
Correct l3doc detection of deprecated commands

I had wrongly mixed YYYY-MM-DD and YYYY/MM/DD style dates;
the deprecation date in l3sort was too early, now set to 2018.


Modified: trunk/l3kernel/l3doc.dtx
===================================================================
--- trunk/l3kernel/l3doc.dtx	2017-02-07 07:04:19 UTC (rev 6846)
+++ trunk/l3kernel/l3doc.dtx	2017-02-07 15:05:44 UTC (rev 6847)
@@ -2159,7 +2159,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_deprecated_on:n #1
   {
-    \@@_date_compare:nNnT {#1} < { \tex_year:D / \tex_month:D / \tex_day:D }
+    \@@_date_compare:nNnT {#1} < { \tex_year:D - \tex_month:D - \tex_day:D }
       {
         \msg_error:nnxx { l3doc } { deprecated-function }
           { \tl_to_str:N \l_@@_macro_argument_tl } {#1}

Modified: trunk/l3kernel/l3sort.dtx
===================================================================
--- trunk/l3kernel/l3sort.dtx	2017-02-07 07:04:19 UTC (rev 6846)
+++ trunk/l3kernel/l3sort.dtx	2017-02-07 15:05:44 UTC (rev 6847)
@@ -1083,7 +1083,7 @@
 %
 % \subsection{Deprecated functions}
 %
-% \begin{macro}[deprecated = 2017-02-06]{\sort_ordered:, \sort_reversed:}
+% \begin{macro}[deprecated = 2018-12-31]{\sort_ordered:, \sort_reversed:}
 %   These functions were renamed for consistency.
 %    \begin{macrocode}
 \cs_new_eq:NN \sort_ordered: \sort_return_same:



More information about the latex3-commits mailing list