diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-AT.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-AT.ldf | 64 |
1 files changed, 38 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-AT.ldf b/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-AT.ldf index 9b4116be517..d0019d0f7f1 100644 --- a/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-AT.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-AT.ldf @@ -4,11 +4,11 @@ %% %% The original source files were: %% -%% datetime2-german.dtx (with options: `datetime2-de-AT.ldf,package') +%% datetime2-de-AT.dtx (with options: `datetime2-de-AT.ldf,package') %% %% datetime2-german.dtx %% Copyright 2015 Nicola Talbot -%% Copyright 2017 Sebastian Friedl +%% Copyright 2017-19 Sebastian Friedl %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -21,12 +21,16 @@ %% This work has the LPPL maintenance status `maintained'. %% Current maintainer of the work is Sebastian Friedl %% -%% This work consists of the files datetime2-german.dtx and -%% datetime2-german.ins and the derived files -%% datetime2-german-utf8.ldf, datetime2-german-ascii.ldf, -%% datetime2-german.ldf, datetime2-de-DE.ldf, -%% datetime2-de-AT.ldf and datetime2-de-CH.ldf -%% +%% This work consists of the files and the derived files: +%% - datetime2-german.ins, - datetime2-german-base.ldf, +%% - datetime2-german-base.dtx, - datetime2-german-base-ascii.ldf, +%% - datetime2-german-base-ascii.dtx, - datetime2-german-base-utf8.ldf, +%% - datetime2-german-base-utf8.dtx, - datetime2-german.ldf, +%% - datetime2-german.ldf, - datetime2-de-DE.ldf, +%% - datetime2-de-DE.ldf, - datetime2-de-AT.ldf and +%% - datetime2-de-AT.ldf, - datetime2-de-CH.ldf +%% - datetime2-de-CH.ldf and +%% - datetime2-german-doc.dtx %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -42,14 +46,14 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{de-AT}[2017/11/13 v2.1] -\RequireDateTimeModule{german} +\ProvidesDateTimeModule{de-AT}[2019/12/13 v3.0] +\RequireDateTimeModule{german-base} \newcommand*{\DTMdeATdowdaysep}{,\space} \newcommand*{\DTMdeATdaymonthsep}{.\DTMtexorpdfstring{\protect~}{\space}} \newcommand*{\DTMdeATmonthyearsep}{\space} \newcommand*{\DTMdeATdatetimesep}{,\space} \newcommand*{\DTMdeATtimezonesep}{\space} -\newcommand*{\DTMdeATdatesep}{-} +\newcommand*{\DTMdeATdatesep}{.} \newcommand*{\DTMdeATtimesep}{:} \DTMdefkey{de-AT}{dowdaysep}{\renewcommand*{\DTMdeATdowdaysep}{#1}} \DTMdefkey{de-AT}{daymonthsep}{\renewcommand*{\DTMdeATdaymonthsep}{#1}} @@ -167,19 +171,28 @@ {de-AT-numeric}% label {% date style \renewcommand*\DTMdisplaydate[4]{% - \DTMifbool{de-AT}{showyear}% + \ifDTMshowdow + \ifnum##4>-1 + \DTMifbool{de-AT}{abbr}% + {\DTMgermanshortweekdayname{##4}}% + {\DTMgermanweekdayname{##4}}% + \DTMdeATdowdaysep + \fi + \fi + % + \DTMifbool{de-AT}{showdayofmonth}% {% - \number##1 % space intended - \DTMdeATdatesep% + \DTMtwodigits{##3}% + \DTMdeATdatesep }% {}% - % \DTMtwodigits{##2}% - % - \DTMifbool{de-AT}{showdayofmonth}% + \DTMdeATdatesep% + \DTMifbool{de-AT}{showyear}% {% - \DTMdeATdatesep% - \DTMtwodigits{##3}% + \DTMifbool{de-AT}{abbr}% + {\DTMtwodigits{##1}}% + {\number##1 }% space intended }% {}% }% @@ -219,20 +232,19 @@ \renewcommand*{\DTMDisplay}{\DTMdisplay}% } \DTMifcaseregional -{}% do nothing -{\DTMsetstyle{de-AT}}% -{\DTMsetstyle{de-AT-numeric}}% + {}% do nothing + {\DTMsetstyle{de-AT}}% + {\DTMsetstyle{de-AT-numeric}}% \ifcsundef{date\CurrentTrackedDialect} {% \ifundef\dategerman - {% do nothing - }% + {}% do nothing {% \def\dategerman{% \DTMifcaseregional {}% do nothing - {\DTMsetstyle{german}}% - {\DTMsetstyle{german-numeric}}% + {\DTMsetstyle{de-AT}}% + {\DTMsetstyle{de-AT-numeric}}% }% }% }% |