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 /Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf | |
parent | 1992dc297aa0c1fd0db744a805a79e763c84ccd4 (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-US.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf | 16 |
1 files changed, 13 insertions, 3 deletions
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 }% {}% }% |