summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-CH.ldf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-14 22:26:29 +0000
committerKarl Berry <karl@freefriends.org>2019-12-14 22:26:29 +0000
commit3d9c8e58c87e743f0f0b12dc32c8213bcdf4ed27 (patch)
tree9c9f127a6621c6f8cd1580e212b518109c95065c /Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-CH.ldf
parent1513a1745bd5b12f3342b7c251e1b8fc4c7288d1 (diff)
datetime2-german (14dec19)
git-svn-id: svn://tug.org/texlive/trunk@53125 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-CH.ldf')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-CH.ldf43
1 files changed, 24 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-CH.ldf b/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-CH.ldf
index 849a016dbc9..ddd27456981 100644
--- a/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-CH.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-german/datetime2-de-CH.ldf
@@ -4,11 +4,11 @@
%%
%% The original source files were:
%%
-%% datetime2-german.dtx (with options: `datetime2-de-CH.ldf,package')
+%% datetime2-de-CH.dtx (with options: `datetime2-de-CH.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,8 +46,8 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{de-CH}[2017/11/13 v2.1]
-\RequireDateTimeModule{german}
+\ProvidesDateTimeModule{de-CH}[2019/12/13 v3.0]
+\RequireDateTimeModule{german-base}
\newcommand*{\DTMdeCHdowdaysep}{,\space}
\newcommand*{\DTMdeCHdaymonthsep}{.\DTMtexorpdfstring{\protect~}{\space}}
\newcommand*{\DTMdeCHmonthyearsep}{\space}
@@ -173,7 +177,7 @@
\DTMifbool{de-CH}{abbr}%
{\DTMgermanshortweekdayname{##4}}%
{\DTMgermanweekdayname{##4}}%
-\DTMdeCHdowdaysep
+ \DTMdeCHdowdaysep
\fi
\fi
%
@@ -187,7 +191,9 @@
\DTMdeCHdatesep%
\DTMifbool{de-CH}{showyear}%
{%
- \number##1 % space intended
+ \DTMifbool{de-CH}{abbr}%
+ {\DTMtwodigits{##1}}%
+ {\number##1 }% space intended
}%
{}%
}%
@@ -228,20 +234,19 @@
\renewcommand*{\DTMDisplay}{\DTMdisplay}%
}
\DTMifcaseregional
-{}% do nothing
-{\DTMsetstyle{de-CH}}%
-{\DTMsetstyle{de-CH-numeric}}%
+ {}% do nothing
+ {\DTMsetstyle{de-CH}}%
+ {\DTMsetstyle{de-CH-numeric}}%
\ifcsundef{date\CurrentTrackedDialect}
{%
\ifundef\dategerman
- {% do nothing
- }%
+ {}% do nothing
{%
\def\dategerman{%
\DTMifcaseregional
{}% do nothing
- {\DTMsetstyle{german}}%
- {\DTMsetstyle{german-numeric}}%
+ {\DTMsetstyle{de-CH}}%
+ {\DTMsetstyle{de-CH-numeric}}%
}%
}%
}%