From 9a75f041e4bc046e8456e23e23fafeeffe7e8305 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 21 Mar 2021 21:40:49 +0000 Subject: datetime2 (21mar21) git-svn-id: svn://tug.org/texlive/trunk@58590 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/datetime2/datetime2.dtx | 37 +++++++++++----------- .../source/latex/datetime2/datetime2.ins | 4 +-- 2 files changed, 21 insertions(+), 20 deletions(-) (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/datetime2/datetime2.dtx b/Master/texmf-dist/source/latex/datetime2/datetime2.dtx index ffdbdcbb740..58a962ba9f8 100644 --- a/Master/texmf-dist/source/latex/datetime2/datetime2.dtx +++ b/Master/texmf-dist/source/latex/datetime2/datetime2.dtx @@ -1,13 +1,13 @@ %\iffalse % datetime2.dtx generated using makedtx version 1.2 (c) Nicola Talbot % Command line args: -% -author "Nicola Talbot" % -section "chapter" % -src "datetime2.sty\Z=>datetime2.sty" % -src "datetime2-calc.sty\Z=>datetime2-calc.sty" +% -author "Nicola Talbot" % -doc "datetime2-manual.tex" % datetime2 -% Created on 2020/3/2 15:47 +% Created on 2021/3/21 11:13 %\fi %\iffalse %<*package> @@ -30,7 +30,7 @@ %\fi % \iffalse % Doc-Source file to use with LaTeX2e -% Copyright (C) 2020 Nicola Talbot, all rights reserved. +% Copyright (C) 2021 Nicola Talbot, all rights reserved. % \fi % \iffalse %<*driver> @@ -91,11 +91,11 @@ % %\MakeShortVerb{"} % -%\title{datetime2 v1.5.6: +%\title{datetime2 v1.5.7: %date and time formats} %\author{Nicola L. C. Talbot\\\url{http://www.dickimaw-books.com/}} % -%\date{2020-03-02} +%\date{2021-03-21} %\maketitle % %\begin{abstract} @@ -5733,7 +5733,7 @@ %\changes{1.0}{2015-03-24}{Initial release} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime2}[2020/03/02 v1.5.6 (NLCT) date and time formats] +\ProvidesPackage{datetime2}[2021/03/21 v1.5.7 (NLCT) date and time formats] % \end{macrocode} % Use \sty{tracklang} to find out what languages have been loaded. % \begin{macrocode} @@ -6577,7 +6577,7 @@ %\end{macro} % %\begin{macro}{\DTMtoday} -%\changes{2016-02-11}{1.4}{new} +%\changes{1.4}{2016-02-11}{new} % Provided in case of conflict to obtain \styfmt{datetime2}'s % version of \cs{today}. % \begin{macrocode} @@ -6592,7 +6592,7 @@ %\end{macro} % %\begin{macro}{\today} -%\changes{2016-02-11}{1.4}{no longer using \cs{renewcommand}} +%\changes{1.4}{2016-02-11}{no longer using \cs{renewcommand}} % Version 1.4 dropped \cs{renewcommand} in case % \cs{today} hasn't already been defined. % \begin{macrocode} @@ -6608,7 +6608,7 @@ % %\begin{macro}{\DTMToday} % First letter upper case version. -%\changes{2016-02-11}{1.4}{new} +%\changes{1.4}{2016-02-11}{new} % Added to v1.4 to provide \sty{datetime2}'s version in case of % conflict. % \begin{macrocode} @@ -8448,7 +8448,7 @@ %\end{macro} % %\begin{macro}{\DTMsavenow} -%\changes{1.5.3}{??}{new} +%\changes{1.5.3}{2018-07-20}{new} %Save the date-time stamp in PDF format. % \begin{macrocode} \newrobustcmd*{\DTMsavepdftimestamp}[2]{% @@ -8981,7 +8981,7 @@ %\section{datetime2-calc.sty code} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime2-calc}[2020/03/02 v1.5.6 (NLCT)] +\ProvidesPackage{datetime2-calc}[2021/03/21 v1.5.7 (NLCT)] % \end{macrocode} % Load other required packages % \begin{macrocode} @@ -9055,7 +9055,7 @@ \pgfcalendardatetojulian {\csname @dtm@#1@year\endcsname -\csname @dtm@#1@month\endcsname - -\csname @dtm@#1@day\endcsname} + -\csname @dtm@#1@day\endcsname}% {#2}% }% } @@ -9078,7 +9078,7 @@ {\csname @dtm@#1@year\endcsname -\csname @dtm@#1@month\endcsname -\csname @dtm@#1@day\endcsname - +#2} + +#2}% {#3}% }% } @@ -9097,7 +9097,7 @@ \pgfcalendarifdate {\csname @dtm@#1@year\endcsname -\csname @dtm@#1@month\endcsname - -\csname @dtm@#1@day\endcsname} + -\csname @dtm@#1@day\endcsname}% {#2}{#3}{#4}% }% } @@ -9107,6 +9107,7 @@ %\begin{macro}{\DTMsaveddatediff} % Computes the difference between two saved dates. The result is % stored in the third argument, which should be a count register. +%\changes{1.5.7}{2021-03-21}{removed spurious space} % \begin{macrocode} \newrobustcmd*{\DTMsaveddatediff}[3]{% \ifcsundef{@dtm@#1@year}% @@ -9122,15 +9123,15 @@ \pgfcalendardatetojulian {\csname @dtm@#1@year\endcsname -\csname @dtm@#1@month\endcsname - -\csname @dtm@#1@day\endcsname} + -\csname @dtm@#1@day\endcsname}% {#3}% \pgfcalendardatetojulian {\csname @dtm@#2@year\endcsname -\csname @dtm@#2@month\endcsname - -\csname @dtm@#2@day\endcsname} + -\csname @dtm@#2@day\endcsname}% {\@dtm@julianday}% \advance#3 by -\@dtm@julianday\relax - } + }% }% } % \end{macrocode} @@ -9537,7 +9538,7 @@ % This is for standalone use and shouldn't be used in any date % styles (since the day of week index is already supplied). % The result is stored in the supplied control sequence. -%\changes{2016-02-11}{1.4}{new} +%\changes{1.4}{2016-02-11}{new} % \begin{macrocode} \newrobustcmd*{\DTMcomputedayofweekindex}[2]{% \pgfcalendardatetojulian{#1}{\@dtm@julianday}% diff --git a/Master/texmf-dist/source/latex/datetime2/datetime2.ins b/Master/texmf-dist/source/latex/datetime2/datetime2.ins index 5a7977172b8..3f50c0a6e36 100644 --- a/Master/texmf-dist/source/latex/datetime2/datetime2.ins +++ b/Master/texmf-dist/source/latex/datetime2/datetime2.ins @@ -1,10 +1,10 @@ -% datetime2.ins generated using makedtx version 1.2 2020/3/2 15:47 +% datetime2.ins generated using makedtx version 1.2 2021/3/21 11:13 \input docstrip \preamble datetime2.dtx - Copyright 2020 Nicola Talbot + Copyright 2021 Nicola Talbot This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 -- cgit v1.2.3