summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-18 23:37:25 +0000
committerKarl Berry <karl@freefriends.org>2016-01-18 23:37:25 +0000
commitf0b77116cd5193379982d429f353a92a07c417f6 (patch)
treed2b6320b155e6590af0a67875ecb5a9b00865050 /Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf
parent1992dc297aa0c1fd0db744a805a79e763c84ccd4 (diff)
datetime2-english (18jan16)
git-svn-id: svn://tug.org/texlive/trunk@39422 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf12
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf
index 33ed6ec31f1..484de9605d8 100644
--- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf
@@ -44,15 +44,17 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{en-CA}[2015/04/09 v1.01 (NLCT)]
+\ProvidesDateTimeModule{en-CA}[2015/01/18 v1.02 (NLCT)]
\RequireDateTimeModule{english-base}
\newcommand*{\DTMenCAmonthdaysep}{\space}
+\newcommand*{\DTMenCAdowmonthsep}{\space}
\newcommand*{\DTMenCAdayyearsep}{,\space}
\newcommand*{\DTMenCAdatetimesep}{\space}
\newcommand*{\DTMenCAtimezonesep}{\space}
\newcommand*{\DTMenCAdatesep}{/}
\newcommand*{\DTMenCAtimesep}{:}
\DTMdefkey{en-CA}{monthdaysep}{\renewcommand*{\DTMenCAmonthdaysep}{#1}}
+\DTMdefkey{en-CA}{dowmonthsep}{\renewcommand*{\DTMenCAdowmonthsep}{#1}}
\DTMdefkey{en-CA}{dayyearsep}{\renewcommand*{\DTMenCAdayyearsep}{#1}}
\DTMdefkey{en-CA}{datetimesep}{\renewcommand*{\DTMenCAdatetimesep}{#1}}
\DTMdefkey{en-CA}{timezonesep}{\renewcommand*{\DTMenCAtimezonesep}{#1}}
@@ -85,6 +87,14 @@
{% date style
\renewcommand*{\DTMenglishfmtordsuffix}{\DTMenCAfmtordsuffix}%
\renewcommand*\DTMdisplaydate[4]{%
+ \ifDTMshowdow
+ \ifnum##4>-1 % space intended
+ \DTMifbool{en-CA}{abbr}%
+ {\DTMenglishshortweekdayname{##4}}%
+ {\DTMenglishweekdayname{##4}}%
+ \DTMenCAdowmonthsep
+ \fi
+ \fi
\DTMifbool{en-CA}{abbr}%
{\DTMenglishshortmonthname{##2}}%
{\DTMenglishmonthname{##2}}%