[latex3-commits] [l3svn] r6893 - Document behaviour of a date-comparison auxiliary

noreply at latex-project.org noreply at latex-project.org
Sat Feb 11 20:07:16 CET 2017


Author: bruno
Date: 2017-02-11 20:07:16 +0100 (Sat, 11 Feb 2017)
New Revision: 6893

Modified:
   trunk/l3kernel/l3doc.dtx
Log:
Document behaviour of a date-comparison auxiliary


Modified: trunk/l3kernel/l3doc.dtx
===================================================================
--- trunk/l3kernel/l3doc.dtx	2017-02-11 19:05:17 UTC (rev 6892)
+++ trunk/l3kernel/l3doc.dtx	2017-02-11 19:07:16 UTC (rev 6893)
@@ -1165,6 +1165,9 @@
 %
 % \begin{macro}[int, pTF]{\@@_date_compare:nNn}
 % \begin{macro}[aux]{\@@_date_compare_aux:nnnNnnn, \@@_date_compare_aux:w}
+%   Expects |#1| and |#3| to be dates in the format YYYY-MM-DD (but
+%   accepts YYYY or YYYY-MM too).  Compares them using |#2| (one of |<|,
+%   |=|, |>|), filling in zeros for missing data.
 %    \begin{macrocode}
 \prg_new_conditional:Npnn \@@_date_compare:nNn #1#2#3 { TF , T , F , p }
   { \@@_date_compare_aux:w #1--- \q_mark #2 #3--- \q_stop }
@@ -2153,6 +2156,8 @@
 %    \end{macrocode}
 %
 % \begin{macro}[aux]{\@@_deprecated_on:n}
+%   The date comparison function expects two dates in the YYYY-MM-DD
+%   format (|-|~is not subtraction here).
 %   Complain if a deprecated function should have been removed earlier.
 %   In any case, mark it as internal to suppress the text
 %   \enquote{documented on page \ldots{}}.



More information about the latex3-commits mailing list