summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-CA.ldf
diff options
context:
space:
mode:
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}}%