summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf
index 737c2183e4f..8900e83480c 100644
--- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IM.ldf
@@ -7,7 +7,7 @@
%% datetime2-english.dtx (with options: `datetime2-en-IM.ldf,package')
%%
%% datetime2-english.dtx
-%% Copyright 2015 Nicola Talbot
+%% Copyright 2015-2019 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -44,7 +44,7 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{en-IM}[2016/03/09 v1.04 (NLCT)]
+\ProvidesDateTimeModule{en-IM}[2019/10/21 v1.05 (NLCT)]
\RequireDateTimeModule{english-base}
\newcommand*{\DTMenIMdowdaysep}{\space}
\newcommand*{\DTMenIMdaymonthsep}{\space}
@@ -69,8 +69,8 @@
\DTMdefboolkey{en-IM}{showyear}[true]{}
\DTMsetbool{en-IM}{showyear}{true}
\newcommand*{\DTMenIMfmtordsuffix}[1]{#1}
-\DTMdefchoicekey{en-IM}{ord}[\val\nr]{level,raise,omit,sc}{%
- \ifcase\nr\relax
+\DTMdefchoicekey{en-IM}{ord}[\@dtm@val\@dtm@nr]{level,raise,omit,sc}{%
+ \ifcase\@dtm@nr\relax
\renewcommand*{\DTMenIMfmtordsuffix}[1]{##1}%
\or
\renewcommand*{\DTMenIMfmtordsuffix}[1]{%
@@ -88,7 +88,7 @@
\renewcommand*{\DTMenglishfmtordsuffix}{\DTMenIMfmtordsuffix}%
\renewcommand*\DTMdisplaydate[4]{%
\ifDTMshowdow
- \ifnum##4>-1%
+ \ifnum##4>-1 % space intended
\DTMifbool{en-IM}{abbr}%
{\DTMenglishshortweekdayname{##4}}%
{\DTMenglishweekdayname{##4}}%
@@ -123,7 +123,7 @@
\DTMifbool{en-IM}{mapzone}%
{\DTMusezonemapordefault{##1}{##2}}%
{%
- \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifnum##1<0 \else+\fi\DTMtwodigits{##1}%
\ifDTMshowzoneminutes\DTMenIMtimesep\DTMtwodigits{##2}\fi
}%
}%
@@ -176,7 +176,7 @@
\DTMifbool{en-IM}{mapzone}%
{\DTMusezonemapordefault{##1}{##2}}%
{%
- \ifnum##1<0\else+\fi\DTMtwodigits{##1}%
+ \ifnum##1<0 \else+\fi\DTMtwodigits{##1}%
\ifDTMshowzoneminutes\DTMenIMtimesep\DTMtwodigits{##2}\fi
}%
}%