diff options
author | Karl Berry <karl@freefriends.org> | 2015-09-15 22:08:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-09-15 22:08:01 +0000 |
commit | 4e822aa6dbae44352e21cb22d6e49b614a546116 (patch) | |
tree | 6e286720d5d033473aac629f326f30e20647ce8b /Master/texmf-dist/tex | |
parent | 4b86eedca83371e7f325fee86bd3d17a32dd9bf3 (diff) |
datetime2 (15sep15)
git-svn-id: svn://tug.org/texlive/trunk@38382 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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] |