texlive[58590] Master/texmf-dist: datetime2 (21mar21)
commits+karl at tug.org
commits+karl at tug.org
Sun Mar 21 22:40:49 CET 2021
Revision: 58590
http://tug.org/svn/texlive?view=revision&revision=58590
Author: karl
Date: 2021-03-21 22:40:49 +0100 (Sun, 21 Mar 2021)
Log Message:
-----------
datetime2 (21mar21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/datetime2/CHANGES
trunk/Master/texmf-dist/doc/latex/datetime2/README
trunk/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
trunk/Master/texmf-dist/source/latex/datetime2/datetime2.dtx
trunk/Master/texmf-dist/source/latex/datetime2/datetime2.ins
trunk/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
trunk/Master/texmf-dist/tex/latex/datetime2/datetime2.sty
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/datetime2/CHANGES 2021-03-21 21:40:19 UTC (rev 58589)
+++ trunk/Master/texmf-dist/doc/latex/datetime2/CHANGES 2021-03-21 21:40:49 UTC (rev 58590)
@@ -1,6 +1,10 @@
+1.5.7 (2021-03-21):
+
+ * Bug fix: (datetime2-calc.sty) removed spurious space in \DTMsaveddatediff
+
1.5.6 (2020-03-02):
- * removed spurious space in \DTMsetregional
+ * Bug fix: removed spurious space in \DTMsetregional
1.5.5 (2019-11-11):
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/datetime2/README 2021-03-21 21:40:19 UTC (rev 58589)
+++ trunk/Master/texmf-dist/doc/latex/datetime2/README 2021-03-21 21:40:49 UTC (rev 58590)
@@ -1,4 +1,4 @@
-LaTeX Package : datetime2 v1.5.6 (2020-03-02)
+LaTeX Package : datetime2 v1.5.7 (2021-03-21)
Author : Nicola Talbot
https://www.dickimaw-books.com/contact
@@ -9,7 +9,7 @@
See http://www.ctan.org/license/lppl1.3
for the details of that license.
-Copyright 2015-2020 Nicola Talbot
+Copyright 2015-2021 Nicola Talbot
Provides commands for formatting dates, times and time zones.
Language and regional support is provided by independently
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/datetime2.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-babel.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-calc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-filedate.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-hyperref.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-journal.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-styles.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/datetime2/samples/datetime2-sample-xe.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/datetime2/datetime2.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/datetime2/datetime2.dtx 2021-03-21 21:40:19 UTC (rev 58589)
+++ trunk/Master/texmf-dist/source/latex/datetime2/datetime2.dtx 2021-03-21 21:40:49 UTC (rev 58590)
@@ -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 at year\endcsname
-\csname @dtm@#1 at month\endcsname
- -\csname @dtm@#1 at day\endcsname}
+ -\csname @dtm@#1 at day\endcsname}%
{#2}%
}%
}
@@ -9078,7 +9078,7 @@
{\csname @dtm@#1 at year\endcsname
-\csname @dtm@#1 at month\endcsname
-\csname @dtm@#1 at day\endcsname
- +#2}
+ +#2}%
{#3}%
}%
}
@@ -9097,7 +9097,7 @@
\pgfcalendarifdate
{\csname @dtm@#1 at year\endcsname
-\csname @dtm@#1 at month\endcsname
- -\csname @dtm@#1 at day\endcsname}
+ -\csname @dtm@#1 at 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 at year}%
@@ -9122,15 +9123,15 @@
\pgfcalendardatetojulian
{\csname @dtm@#1 at year\endcsname
-\csname @dtm@#1 at month\endcsname
- -\csname @dtm@#1 at day\endcsname}
+ -\csname @dtm@#1 at day\endcsname}%
{#3}%
\pgfcalendardatetojulian
{\csname @dtm@#2 at year\endcsname
-\csname @dtm@#2 at month\endcsname
- -\csname @dtm@#2 at day\endcsname}
+ -\csname @dtm@#2 at day\endcsname}%
{\@dtm at julianday}%
\advance#3 by -\@dtm at 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 at julianday}%
Modified: trunk/Master/texmf-dist/source/latex/datetime2/datetime2.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/datetime2/datetime2.ins 2021-03-21 21:40:19 UTC (rev 58589)
+++ trunk/Master/texmf-dist/source/latex/datetime2/datetime2.ins 2021-03-21 21:40:49 UTC (rev 58590)
@@ -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
Modified: trunk/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty 2021-03-21 21:40:19 UTC (rev 58589)
+++ trunk/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty 2021-03-21 21:40:49 UTC (rev 58590)
@@ -7,7 +7,7 @@
%% datetime2.dtx (with options: `datetime2-calc.sty,package')
%%
%% 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
@@ -39,7 +39,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime2-calc}[2020/03/02 v1.5.6 (NLCT)]
+\ProvidesPackage{datetime2-calc}[2021/03/21 v1.5.7 (NLCT)]
\RequirePackage{pgfkeys}
\RequirePackage{pgfcalendar}
\newcount\@dtm at julianday
@@ -76,7 +76,7 @@
\pgfcalendardatetojulian
{\csname @dtm@#1 at year\endcsname
-\csname @dtm@#1 at month\endcsname
- -\csname @dtm@#1 at day\endcsname}
+ -\csname @dtm@#1 at day\endcsname}%
{#2}%
}%
}
@@ -90,7 +90,7 @@
{\csname @dtm@#1 at year\endcsname
-\csname @dtm@#1 at month\endcsname
-\csname @dtm@#1 at day\endcsname
- +#2}
+ +#2}%
{#3}%
}%
}
@@ -103,7 +103,7 @@
\pgfcalendarifdate
{\csname @dtm@#1 at year\endcsname
-\csname @dtm@#1 at month\endcsname
- -\csname @dtm@#1 at day\endcsname}
+ -\csname @dtm@#1 at day\endcsname}%
{#2}{#3}{#4}%
}%
}
@@ -121,15 +121,15 @@
\pgfcalendardatetojulian
{\csname @dtm@#1 at year\endcsname
-\csname @dtm@#1 at month\endcsname
- -\csname @dtm@#1 at day\endcsname}
+ -\csname @dtm@#1 at day\endcsname}%
{#3}%
\pgfcalendardatetojulian
{\csname @dtm@#2 at year\endcsname
-\csname @dtm@#2 at month\endcsname
- -\csname @dtm@#2 at day\endcsname}
+ -\csname @dtm@#2 at day\endcsname}%
{\@dtm at julianday}%
\advance#3 by -\@dtm at julianday\relax
- }
+ }%
}%
}
\newrobustcmd*{\DTMtozulu}[2]{%
Modified: trunk/Master/texmf-dist/tex/latex/datetime2/datetime2.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/datetime2/datetime2.sty 2021-03-21 21:40:19 UTC (rev 58589)
+++ trunk/Master/texmf-dist/tex/latex/datetime2/datetime2.sty 2021-03-21 21:40:49 UTC (rev 58590)
@@ -7,7 +7,7 @@
%% datetime2.dtx (with options: `datetime2.sty,package')
%%
%% 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
@@ -39,7 +39,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\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]
\RequirePackage{tracklang}
\RequirePackage{etoolbox}
\RequirePackage{xkeyval}[2006/11/18]
More information about the tex-live-commits
mailing list.