diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2')
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty | 12 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime2/datetime2.sty | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty b/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty index 006b1c4671d..6e696c1ad77 100644 --- a/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty +++ b/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty @@ -39,7 +39,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime2-calc}[2015/03/24 v1.0 (NLCT)] +\ProvidesPackage{datetime2-calc}[2015/09/15 v1.1 (NLCT)] \RequirePackage{pgfkeys} \RequirePackage{pgfcalendar} \newcount\@dtm@julianday @@ -163,9 +163,9 @@ \else \count@=\@dtm@minute\relax \ifnum\@dtm@TZhour<0\relax - \advance\count@ by -\@dtm@TZminute\relax - \else \advance\count@ by \@dtm@TZminute\relax + \else + \advance\count@ by -\@dtm@TZminute\relax \fi \edef\@dtm@minute{\number\count@}% \ifnum\count@<0\relax @@ -186,8 +186,8 @@ \count@ = \@dtm@hour\relax \advance\count@ by 1\relax \edef\@dtm@hour{\number\count@}% - \ifnum\thehour=24\relax - \def\thehour{00}% + \ifnum\@dtm@hour=24\relax + \def\@dtm@hour{00}% \advance\@dtm@julianday by 1\relax \fi \fi @@ -196,7 +196,7 @@ \ifnum\@dtm@TZhour=0\relax \else \count@=\@dtm@hour\relax - \advance\count@ by \@dtm@TZhour\relax + \advance\count@ by -\@dtm@TZhour\relax \ifnum\count@<0\relax \advance\count@ by 24\relax \edef\@dtm@hour{\number\count@}% diff --git a/Master/texmf-dist/tex/latex/datetime2/datetime2.sty b/Master/texmf-dist/tex/latex/datetime2/datetime2.sty index f9fea5c72ab..e008544f1b6 100644 --- a/Master/texmf-dist/tex/latex/datetime2/datetime2.sty +++ b/Master/texmf-dist/tex/latex/datetime2/datetime2.sty @@ -39,7 +39,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime2}[2015/03/24 v1.0 (NLCT) date and time formats] +\ProvidesPackage{datetime2}[2015/09/15 v1.1 (NLCT) date and time formats] \RequirePackage{tracklang} \RequirePackage{etoolbox} \RequirePackage{xkeyval}[2006/11/18] |