From 4e822aa6dbae44352e21cb22d6e49b614a546116 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 15 Sep 2015 22:08:01 +0000 Subject: datetime2 (15sep15) git-svn-id: svn://tug.org/texlive/trunk@38382 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty | 12 ++++++------ Master/texmf-dist/tex/latex/datetime2/datetime2.sty | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex') 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] -- cgit v1.2.3