summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-07-20 22:07:31 +0000
committerKarl Berry <karl@freefriends.org>2018-07-20 22:07:31 +0000
commit508092db4c6970ec4149a2d3e78db1777858e542 (patch)
treefafa3efa3490dcd3922f69aade9052e3b1bff36f /Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
parent74cf182a295fac33607870e90e1f8cb33fa22f9a (diff)
datetime2 (20jul18)
git-svn-id: svn://tug.org/texlive/trunk@48236 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty13
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty b/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
index a3cc47301d5..989794768a2 100644
--- a/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
+++ b/Master/texmf-dist/tex/latex/datetime2/datetime2-calc.sty
@@ -7,11 +7,11 @@
%% datetime2.dtx (with options: `datetime2-calc.sty,package')
%%
%% datetime2.dtx
-%% Copyright 2016 Nicola Talbot
+%% Copyright 2018 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
+%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
@@ -39,7 +39,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{datetime2-calc}[2016/07/12 v1.5.2 (NLCT)]
+\ProvidesPackage{datetime2-calc}[2018/07/20 v1.5.3 (NLCT)]
\RequirePackage{pgfkeys}
\RequirePackage{pgfcalendar}
\newcount\@dtm@julianday
@@ -340,6 +340,13 @@
\pgfcalendarjuliantoweekday{\@dtm@julianday}{\count@}%
\edef#2{\number\count@}%
}
+\def\dtmMondayIndex{0}
+\def\dtmTuesdayIndex{1}
+\def\dtmWednesdayIndex{2}
+\def\dtmThursdayIndex{3}
+\def\dtmFridayIndex{4}
+\def\dtmSaturdayIndex{5}
+\def\dtmSundayIndex{6}
\newrobustcmd{\DTMweekdayname}[1]{%
\ifcsdef{DTM\languagename weekdayname}%
{%