diff options
author | Karl Berry <karl@freefriends.org> | 2016-01-18 23:37:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-01-18 23:37:25 +0000 |
commit | f0b77116cd5193379982d429f353a92a07c417f6 (patch) | |
tree | d2b6320b155e6590af0a67875ecb5a9b00865050 | |
parent | 1992dc297aa0c1fd0db744a805a79e763c84ccd4 (diff) |
datetime2-english (18jan16)
git-svn-id: svn://tug.org/texlive/trunk@39422 c570f23f-e606-0410-a88d-b1316a301751
15 files changed, 103 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime2-english/CHANGES b/Master/texmf-dist/doc/latex/datetime2-english/CHANGES index 36f38a1bc37..30b95a8a76f 100644 --- a/Master/texmf-dist/doc/latex/datetime2-english/CHANGES +++ b/Master/texmf-dist/doc/latex/datetime2-english/CHANGES @@ -1,3 +1,7 @@ +v1.02 (2016-01-18): + + * Added support for "showdow" to the en-US and en-CA styles. + v1.01 (2015-04-09): * Fixed bug where en-GB-numeric was mistyped as en-GB-regional diff --git a/Master/texmf-dist/doc/latex/datetime2-english/datetime2-english.pdf b/Master/texmf-dist/doc/latex/datetime2-english/datetime2-english.pdf Binary files differindex e7ceb5d1e04..dd8fc4479b1 100644 --- a/Master/texmf-dist/doc/latex/datetime2-english/datetime2-english.pdf +++ b/Master/texmf-dist/doc/latex/datetime2-english/datetime2-english.pdf diff --git a/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx b/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx index a643cb7d8bd..e934e911a45 100644 --- a/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx +++ b/Master/texmf-dist/source/latex/datetime2-english/datetime2-english.dtx @@ -36,7 +36,7 @@ pdftitle={datetime2.sty English Module}]{hyperref} -\CheckSum{2270} +\CheckSum{2298} \renewcommand*{\usage}[1]{\hyperpage{#1}} \renewcommand*{\main}[1]{\hyperpage{#1}} @@ -60,7 +60,7 @@ % %\title{English Module for datetime2 Package} %\author{Nicola L. C. Talbot} -%\date{2015-04-09 (v1.01)} +%\date{2016-01-18 (v1.02)} %\maketitle % %\begin{abstract} @@ -298,6 +298,11 @@ %\item[\opt{dayyearsep}] The separator between the day and the year %in the "en-US" style. The default is ",\space" % +%\item[\opt{dowmonthsep}] The separator between the day of week +%name and the month name in the "en-US" style. The default is +%\cs{space}. This is new to version 1.02, which now supports the +%\opt{showdow} package option. +% %\item[\opt{datesep}] The separator between the date numbers in the %"en-US-numeric" format. % @@ -339,8 +344,6 @@ % %\end{description} % -%The "en-US" style doesn't use the \opt{showdow} setting. -% %The "en-US" time style uses the "englishampm". The "en-US-numeric" %uses a 24 hour style. The time zone checks the \opt{mapzone} %setting (described above). If it's set, then @@ -359,7 +362,7 @@ % This module provides the "en-CA" and "en-CA-numeric" styles % that are virtually identical to the "en-US" and "en-US-numeric" style. % These have the same options as for the US styles but the zone maps -% are provided by\cs{DTMenCAzonemaps}, which can be redefined as required. +% are provided by \cs{DTMenCAzonemaps}, which can be redefined as required. % This has the additional time zones NDT and NST. Note that other than NDT, %daylight saving isn't taken into account. % @@ -472,7 +475,7 @@ %\changes{1.0}{2015-03-24}{Initial release} % Identify module % \begin{macrocode} -\ProvidesDateTimeModule{english-base}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{english-base}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Since the main emphasize of the \sty{datetime2} package is to % provide expandable dates where possible, the commands here need to @@ -798,7 +801,7 @@ % % Identify Module % \begin{macrocode} -\ProvidesDateTimeModule{english}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{english}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load the base English module. % \begin{macrocode} @@ -893,7 +896,7 @@ %\fi % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-GB}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-GB}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -1209,7 +1212,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-US}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-US}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -1226,6 +1229,15 @@ % \end{macrocode} %\end{macro} % +%\begin{macro}{\DTMenUSdowmonthsep} +% The separator between the day of week name and the month for the text format. +% (New to version 1.02.) +%\changes{1.02}{2016-01-18}{new} +% \begin{macrocode} +\newcommand*{\DTMenUSdowmonthsep}{\space} +% \end{macrocode} +%\end{macro} +% %\begin{macro}{\DTMenUSdayyearsep} % The separator between the day and year for the text format. % \begin{macrocode} @@ -1267,6 +1279,7 @@ %separators. % \begin{macrocode} \DTMdefkey{en-US}{monthdaysep}{\renewcommand*{\DTMenUSmonthdaysep}{#1}} +\DTMdefkey{en-US}{dowmonthsep}{\renewcommand*{\DTMenUSdowmonthsep}{#1}} \DTMdefkey{en-US}{dayyearsep}{\renewcommand*{\DTMenUSdayyearsep}{#1}} \DTMdefkey{en-US}{datetimesep}{\renewcommand*{\DTMenUSdatetimesep}{#1}} \DTMdefkey{en-US}{timezonesep}{\renewcommand*{\DTMenUStimezonesep}{#1}} @@ -1343,12 +1356,24 @@ % as the default day-year separator has a comma that should % disappear if the day number is missing so the month-day separator % is used as the month-year separator if the day is missing. +%\changes{1.02}{2016-01-18}{added support for showdow option} % \begin{macrocode} \DTMnewstyle {en-US}% label {% date style \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenUSfmtordsuffix}% \renewcommand*\DTMdisplaydate[4]{% +% \end{macrocode} +% Support for \opt{showdow} added in v1.02 (thanks to Alan Munn). +% \begin{macrocode} + \ifDTMshowdow + \ifnum##4>-1 % space intended + \DTMifbool{en-US}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \DTMenUSdowmonthsep + \fi + \fi \DTMifbool{en-US}{abbr}% {\DTMenglishshortmonthname{##2}}% {\DTMenglishmonthname{##2}}% @@ -1359,7 +1384,7 @@ \DTMifbool{en-US}{showyear}% {% \DTMenUSdayyearsep - \number##1 % intended + \number##1 % space intended }% {}% }% @@ -1367,7 +1392,7 @@ \DTMifbool{en-US}{showyear}% {% \DTMenUSmonthdaysep - \number##1 % intended + \number##1 % space intended }% {}% }% @@ -1533,7 +1558,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-CA}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-CA}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -1550,6 +1575,15 @@ % \end{macrocode} %\end{macro} % +%\begin{macro}{\DTMenCAdowmonthsep} +% The separator between the day of week name and the month for the text format. +% (New to version 1.02.) +%\changes{1.02}{2016-01-18}{new} +% \begin{macrocode} +\newcommand*{\DTMenCAdowmonthsep}{\space} +% \end{macrocode} +%\end{macro} +% %\begin{macro}{\DTMenCAdayyearsep} % The separator between the day and year for the text format. % \begin{macrocode} @@ -1591,6 +1625,7 @@ %separators. % \begin{macrocode} \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}} @@ -1670,6 +1705,17 @@ {% date style \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenCAfmtordsuffix}% \renewcommand*\DTMdisplaydate[4]{% +% \end{macrocode} +% Support for \opt{showdow} added in v1.02 (thanks to Alan Munn). +% \begin{macrocode} + \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}}% @@ -1855,7 +1901,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-AU}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-AU}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -2178,7 +2224,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-NZ}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-NZ}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -2496,7 +2542,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-GG}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-GG}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -2810,7 +2856,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-JE}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-JE}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -3124,7 +3170,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-IM}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-IM}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -3438,7 +3484,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-MT}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-MT}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} @@ -3753,7 +3799,7 @@ % % Identify this module. % \begin{macrocode} -\ProvidesDateTimeModule{en-IE}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-IE}[2015/01/18 v1.02 (NLCT)] % \end{macrocode} % Load base English module. % \begin{macrocode} diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-AU.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-AU.ldf index 1413121aa5a..62dc040b6fb 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-AU.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-AU.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-AU}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-AU}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenAUdaymonthsep}{\space} \newcommand*{\DTMenAUmonthyearsep}{\space} 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}}% diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GB.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GB.ldf index e3b64b7384a..9556e28ab25 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GB.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GB.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-GB}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-GB}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenGBdaymonthsep}{\space} \newcommand*{\DTMenGBmonthyearsep}{\space} diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GG.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GG.ldf index ff4fdd42110..a0ee440124b 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GG.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-GG.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-GG}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-GG}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenGGdaymonthsep}{\space} \newcommand*{\DTMenGGmonthyearsep}{\space} diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IE.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IE.ldf index 5102e6b841d..2a7b4a2c0db 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IE.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-IE.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-IE}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-IE}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenIEdaymonthsep}{\space} \newcommand*{\DTMenIEmonthyearsep}{\space} 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 c2e7fd78f35..99c2e7a932f 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 @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-IM}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-IM}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenIMdaymonthsep}{\space} \newcommand*{\DTMenIMmonthyearsep}{\space} diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-JE.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-JE.ldf index 86adc58c659..6e26e9be2c6 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-JE.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-JE.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-JE}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-JE}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenJEdaymonthsep}{\space} \newcommand*{\DTMenJEmonthyearsep}{\space} diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-MT.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-MT.ldf index ae933ce60de..762d4f094df 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-MT.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-MT.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-MT}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-MT}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenMTdaymonthsep}{\space} \newcommand*{\DTMenMTmonthyearsep}{\space} diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-NZ.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-NZ.ldf index 85ac882a716..64018c02b81 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-NZ.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-NZ.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-NZ}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-NZ}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenNZdaymonthsep}{\space} \newcommand*{\DTMenNZmonthyearsep}{\space} diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf index 6ad35159b2a..d23be9d4738 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf @@ -44,15 +44,17 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-US}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{en-US}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenUSmonthdaysep}{\space} +\newcommand*{\DTMenUSdowmonthsep}{\space} \newcommand*{\DTMenUSdayyearsep}{,\space} \newcommand*{\DTMenUSdatetimesep}{\space} \newcommand*{\DTMenUStimezonesep}{\space} \newcommand*{\DTMenUSdatesep}{/} \newcommand*{\DTMenUStimesep}{:} \DTMdefkey{en-US}{monthdaysep}{\renewcommand*{\DTMenUSmonthdaysep}{#1}} +\DTMdefkey{en-US}{dowmonthsep}{\renewcommand*{\DTMenUSdowmonthsep}{#1}} \DTMdefkey{en-US}{dayyearsep}{\renewcommand*{\DTMenUSdayyearsep}{#1}} \DTMdefkey{en-US}{datetimesep}{\renewcommand*{\DTMenUSdatetimesep}{#1}} \DTMdefkey{en-US}{timezonesep}{\renewcommand*{\DTMenUStimezonesep}{#1}} @@ -85,6 +87,14 @@ {% date style \renewcommand*{\DTMenglishfmtordsuffix}{\DTMenUSfmtordsuffix}% \renewcommand*\DTMdisplaydate[4]{% + \ifDTMshowdow + \ifnum##4>-1 % space intended + \DTMifbool{en-US}{abbr}% + {\DTMenglishshortweekdayname{##4}}% + {\DTMenglishweekdayname{##4}}% + \DTMenUSdowmonthsep + \fi + \fi \DTMifbool{en-US}{abbr}% {\DTMenglishshortmonthname{##2}}% {\DTMenglishmonthname{##2}}% @@ -95,7 +105,7 @@ \DTMifbool{en-US}{showyear}% {% \DTMenUSdayyearsep - \number##1 % intended + \number##1 % space intended }% {}% }% @@ -103,7 +113,7 @@ \DTMifbool{en-US}{showyear}% {% \DTMenUSmonthdaysep - \number##1 % intended + \number##1 % space intended }% {}% }% diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english-base.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english-base.ldf index d5c3d2c56ee..cecaae5b441 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english-base.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english-base.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{english-base}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{english-base}[2015/01/18 v1.02 (NLCT)] \newcommand*{\DTMenglishordinal}[1]{% \number#1 % space intended \DTMenglishfmtordsuffix{% diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english.ldf index 766482b4ae1..91203eb6d1f 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-english.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{english}[2015/04/09 v1.01 (NLCT)] +\ProvidesDateTimeModule{english}[2015/01/18 v1.02 (NLCT)] \RequireDateTimeModule{english-base} \DTMnewstyle {english}% label |