summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-13 21:01:20 +0000
committerKarl Berry <karl@freefriends.org>2017-06-13 21:01:20 +0000
commitab4c870dff9724b8ea31669dc8216c2f3c34a557 (patch)
treeb66fde8fbfb8e4f03a55fae916843b155d2fc8bb /Master/texmf-dist/tex/latex
parent88c0cf2d35d93d47dcc7e7ef7f7d3abcff56be8b (diff)
datetime2-ukrainian (13jun17)
git-svn-id: svn://tug.org/texlive/trunk@44588 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf130
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf124
-rw-r--r--Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf195
3 files changed, 322 insertions, 127 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf
index 6951d591ce9..9dd3790f44b 100644
--- a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-ascii.ldf
@@ -5,42 +5,16 @@
%% The original source files were:
%%
%% datetime2-ukrainian.dtx (with options: `datetime2-ukrainian-ascii.ldf,package')
+%% ----------------------------------------------------------------
%%
-%% datetime2-ukrainian.dtx
-%% Copyright 2015 Nicola Talbot
-%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `inactive'.
+%% This material is subject to the LaTeX Project Public License.
+%% See http://www.ctan.org/license/lppl1.3 for the details of that
+%% license.
%%
-%% This work consists of the files datetime2-ukrainian.dtx and
-%% datetime2-ukrainian.ins and the derived files
-%% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and
-%% datetime2-ukrainian.ldf.
+%% ----------------------------------------------------------------
%%
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{ukrainian-ascii}[2015/04/01 v1.0]
+\ProvidesDateTimeModule{ukrainian-ascii}[2017/06/13 1.2]
\newcommand*{\DTMukrainianordinal}[1]{%
\number#1
}
@@ -48,7 +22,69 @@
\number#1
\DTMtexorpdfstring{\protect~}{\space}\protect\cyrr.%
}
-\newcommand*{\DTMukrainianmonthname}[1]{%
+\newcommand*{\DTMukrainiannominativemonthname}[1]{%
+ \ifcase#1
+ \or
+ \protect\cyrs\protect\cyrii\protect\cyrch\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrl\protect\cyryu\protect\cyrt\protect\cyri\protect\cyrishrt
+ \or
+ \protect\cyrb\protect\cyre\protect\cyrr\protect\cyre\protect\cyrz
+ \protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrk\protect\cyrv\protect\cyrii\protect\cyrt\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrt\protect\cyrr\protect\cyra\protect\cyrv\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrch\protect\cyre\protect\cyrr\protect\cyrv\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrl\protect\cyri\protect\cyrp\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrs\protect\cyre\protect\cyrr\protect\cyrp\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrv\protect\cyre\protect\cyrr\protect\cyre\protect\cyrs
+ \protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrzh\protect\cyro\protect\cyrv\protect\cyrt\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\cyrl\protect\cyri\protect\cyrs\protect\cyrt\protect\cyro
+ \protect\cyrp\protect\cyra\protect\cyrd
+ \or
+ \protect\cyrg\protect\cyrr\protect\cyru\protect\cyrd\protect\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \fi
+}
+\newcommand*{\DTMukrainiannominativeMonthname}[1]{%
+ \ifcase#1
+ \or
+ \protect\CYRS\protect\cyrii\protect\cyrch\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRL\protect\cyryu\protect\cyrt\protect\cyri\protect\cyrishrt
+ \or
+ \protect\CYRB\protect\cyre\protect\cyrr\protect\cyre\protect\cyrz
+ \protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRK\protect\cyrv\protect\cyrii\protect\cyrt\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRT\protect\cyrr\protect\cyra\protect\cyrv\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRCH\protect\cyre\protect\cyrr\protect\cyrv\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRL\protect\cyri\protect\cyrp\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRS\protect\cyre\protect\cyrr\protect\cyrp\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRV\protect\cyre\protect\cyrr\protect\cyre\protect\cyrs
+ \protect\CYRE\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRZH\protect\cyro\protect\cyrv\protect\cyrt\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \or
+ \protect\CYRL\protect\cyri\protect\cyrs\protect\cyrt\protect\cyro
+ \protect\cyrp\protect\cyra\protect\cyrd
+ \or
+ \protect\CYRG\protect\cyrr\protect\cyru\protect\cyrd\protect\protect\cyre\protect\cyrn\protect\cyrsftsn
+ \fi
+}
+\newcommand*{\DTMukrainiangenitivemonthname}[1]{%
\ifcase#1
\or
\protect\cyrs\protect\cyrii\protect\cyrch\protect\cyrn\protect\cyrya
@@ -86,7 +122,7 @@
\protect\cyrya
\fi
}
-\newcommand*{\DTMukrainianMonthname}[1]{%
+\newcommand*{\DTMukrainiangenitiveMonthname}[1]{%
\ifcase#1
\or
\protect\CYRS\protect\cyrii\protect\cyrch\protect\cyrn\protect\cyrya
@@ -124,6 +160,8 @@
\protect\cyrya
\fi
}
+\newcommand*{\DTMukrainianmonthname}{\DTMukrainiangenitivemonthname}% default
+\newcommand*{\DTMukrainianMonthname}{\DTMukrainiangenitiveMonthname}% default
\newcommand*{\DTMukrainianshortmonthname}[1]{%
\ifcase#1
\or
@@ -250,6 +288,28 @@
\protect\CYRN\protect\cyrd.%
\fi
}
-\endinput
+%%
+%% ----------------------------------------------------------------
+%% datetime2-ukrainian.dtx
+%% Copyright 2015 Nicola Talbot
+%% 2017 Sergiy M. Ponomarenko
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-ukrainian.dtx
+%% datetime2-ukrainian.ins
+%% datetime2-ukrainian-utf8.ldf,
+%% datetime2-ukrainian-ascii.ldf
+%% datetime2-ukrainian.ldf.
+%% ----------------------------------------------------------------
+%%
%%
%% End of file `datetime2-ukrainian-ascii.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf
index 1a9fef187dd..91da644aec0 100644
--- a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian-utf8.ldf
@@ -5,42 +5,16 @@
%% The original source files were:
%%
%% datetime2-ukrainian.dtx (with options: `datetime2-ukrainian-utf8.ldf,package')
+%% ----------------------------------------------------------------
%%
-%% datetime2-ukrainian.dtx
-%% Copyright 2015 Nicola Talbot
+%% This material is subject to the LaTeX Project Public License.
+%% See http://www.ctan.org/license/lppl1.3 for the details of that
+%% license.
%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `inactive'.
-%%
-%% This work consists of the files datetime2-ukrainian.dtx and
-%% datetime2-ukrainian.ins and the derived files
-%% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and
-%% datetime2-ukrainian.ldf.
+%% ----------------------------------------------------------------
%%
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{ukrainian-utf8}[2017/06/111 v1.1]
+\ProvidesDateTimeModule{ukrainian-utf8}[2017/06/13 1.2]
\newcommand*{\DTMukrainianordinal}[1]{%
\number#1
}
@@ -48,7 +22,63 @@
\number#1
\DTMtexorpdfstring{\protect~}{\space}р.%
}
-\newcommand*{\DTMukrainianmonthname}[1]{%
+\newcommand*{\DTMukrainiannominativemonthname}[1]{%
+ \ifcase#1
+ \or
+ січень%
+ \or
+ лютий%
+ \or
+ березень%
+ \or
+ квітень%
+ \or
+ травень%
+ \or
+ червень%
+ \or
+ липень%
+ \or
+ серпень%
+ \or
+ вересень%
+ \or
+ жовтень%
+ \or
+ листопад%
+ \or
+ грудень%
+ \fi
+}
+\newcommand*{\DTMukrainiannominativeMonthname}[1]{%
+ \ifcase#1
+ \or
+ Січень%
+ \or
+ Лютий%
+ \or
+ Березень%
+ \or
+ Квітень%
+ \or
+ Травень%
+ \or
+ Червень%
+ \or
+ Липень%
+ \or
+ Серпень%
+ \or
+ Вересень%
+ \or
+ Жовтень%
+ \or
+ Листопад%
+ \or
+ Грудень%
+ \fi
+}
+\newcommand*{\DTMukrainiangenitivemonthname}[1]{%
\ifcase#1
\or
січня%
@@ -76,7 +106,7 @@
грудня%
\fi
}
-\newcommand*{\DTMukrainianMonthname}[1]{%
+\newcommand*{\DTMukrainiangenitiveMonthname}[1]{%
\ifcase#1
\or
Січня%
@@ -104,6 +134,8 @@
Грудня%
\fi
}
+\newcommand*{\DTMukrainianmonthname}{\DTMukrainiangenitivemonthname}% default
+\newcommand*{\DTMukrainianMonthname}{\DTMukrainiangenitiveMonthname}% default
\newcommand*{\DTMukrainianshortmonthname}[1]{%
\ifcase#1
\or
@@ -228,6 +260,28 @@
Нд.%
\fi
}
-\endinput
+%%
+%% ----------------------------------------------------------------
+%% datetime2-ukrainian.dtx
+%% Copyright 2015 Nicola Talbot
+%% 2017 Sergiy M. Ponomarenko
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-ukrainian.dtx
+%% datetime2-ukrainian.ins
+%% datetime2-ukrainian-utf8.ldf,
+%% datetime2-ukrainian-ascii.ldf
+%% datetime2-ukrainian.ldf.
+%% ----------------------------------------------------------------
+%%
%%
%% End of file `datetime2-ukrainian-utf8.ldf'.
diff --git a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf
index 62660f7cf62..e1a87d4db53 100644
--- a/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf
+++ b/Master/texmf-dist/tex/latex/datetime2-ukrainian/datetime2-ukrainian.ldf
@@ -5,42 +5,16 @@
%% The original source files were:
%%
%% datetime2-ukrainian.dtx (with options: `datetime2-ukrainian.ldf,package')
+%% ----------------------------------------------------------------
%%
-%% datetime2-ukrainian.dtx
-%% Copyright 2015 Nicola Talbot
-%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `inactive'.
+%% This material is subject to the LaTeX Project Public License.
+%% See http://www.ctan.org/license/lppl1.3 for the details of that
+%% license.
%%
-%% This work consists of the files datetime2-ukrainian.dtx and
-%% datetime2-ukrainian.ins and the derived files
-%% datetime2-ukrainian-utf8.ldf, datetime2-ukrainian-ascii.ldf and
-%% datetime2-ukrainian.ldf.
+%% ----------------------------------------------------------------
%%
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-\ProvidesDateTimeModule{ukrainian}[2017/06/11 v1.1]
+\ProvidesDateTimeModule{ukrainian}[2017/06/13 1.2]
\RequirePackage{ifxetex,ifluatex}
\ifxetex
\RequireDateTimeModule{ukrainian-utf8}
@@ -51,19 +25,39 @@
\RequireDateTimeModule{ukrainian-ascii}
\fi
\fi
+\newcommand*{\DTMukrainiandowdaysep}{%
+ \DTMtexorpdfstring{\protect~}{\space}}
\newcommand*{\DTMukrainiandaymonthsep}{%
\DTMtexorpdfstring{\protect~}{\space}}
-\newcommand*{\DTMukrainianmonthyearsep}{\space}
-\newcommand*{\DTMukrainiandatetimesep}{\space}
-\newcommand*{\DTMukrainiantimezonesep}{\space}
+\newcommand*{\DTMukrainiannommonthyearsep}{%
+ \DTMtexorpdfstring{\protect~}{\space}}
+\newcommand*{\DTMukrainianmonthyearsep}{%
+ \DTMtexorpdfstring{\protect~}{\space}}
+\newcommand*{\DTMukrainiandatetimesep}{%
+ \DTMtexorpdfstring{\protect~}{\space}}
+\newcommand*{\DTMukrainiantimezonesep}{%
+ \DTMtexorpdfstring{\protect~}{\space}}
\newcommand*{\DTMukrainiandatesep}{.}
\newcommand*{\DTMukrainiantimesep}{:}
+\DTMdefkey{ukrainian}{dowdaysep}{\renewcommand*{\DTMukrainiandowdaysep}{#1}}
\DTMdefkey{ukrainian}{daymonthsep}{\renewcommand*{\DTMukrainiandaymonthsep}{#1}}
\DTMdefkey{ukrainian}{monthyearsep}{\renewcommand*{\DTMukrainianmonthyearsep}{#1}}
+\DTMdefkey{ukrainian}{nommonthyearsep}{\renewcommand*{\DTMukrainiannommonthyearsep}{#1}}
\DTMdefkey{ukrainian}{datetimesep}{\renewcommand*{\DTMukrainiandatetimesep}{#1}}
\DTMdefkey{ukrainian}{timezonesep}{\renewcommand*{\DTMukrainiantimezonesep}{#1}}
\DTMdefkey{ukrainian}{datesep}{\renewcommand*{\DTMukrainiandatesep}{#1}}
\DTMdefkey{ukrainian}{timesep}{\renewcommand*{\DTMukrainiantimesep}{#1}}
+\DTMdefchoicekey{ukrainian}{month}[\val\nr]{genitive,nominative}{%
+ \ifcase\nr\relax
+ \renewcommand*\DTMukrainianmonthname{\DTMukrainiangenitivemonthname}%
+ \renewcommand*\DTMukrainianMonthname{\DTMukrainiangenitiveMonthname}%
+ \or
+ \renewcommand*\DTMukrainianmonthname{\DTMukrainiannominativemonthname}%
+ \renewcommand*\DTMukrainianMonthname{\DTMukrainiannominativeMonthname}%
+ \fi
+}
+\DTMdefboolkey{ukrainian}{abbr}[true]{}
+\DTMsetbool{ukrainian}{abbr}{false}
\DTMdefboolkey{ukrainian}{mapzone}[true]{}
\DTMsetbool{ukrainian}{mapzone}{true}
\DTMdefboolkey{ukrainian}{showdayofmonth}[true]{}
@@ -74,26 +68,23 @@
{ukrainian}% label
{% date style
\renewcommand*\DTMdisplaydate[4]{%
- \DTMifbool{ukrainian}{showdayofmonth}
- {\DTMukrainianordinal{##3}\DTMukrainiandaymonthsep}%
- {}%
- \DTMukrainianmonthname{##2}%
- \DTMifbool{ukrainian}{showyear}%
+ \ifDTMshowdow
+ \ifnum##4>-1
+ \DTMifbool{ukrainian}{abbr}%
+ {\DTMukrainianshortweekdayname{##4}}%
+ {\DTMukrainianweekdayname{##4}}%
+ \DTMukrainiandowdaysep
+ \fi
+ \fi
+ \DTMifbool{ukrainian}{showdayofmonth}%
{%
- \DTMukrainianmonthyearsep
- \DTMukrainianyear{##1}%
+ \DTMukrainianordinal{##3}%
+ \DTMukrainiandaymonthsep
}%
{}%
- }%
- \renewcommand*\DTMDisplaydate[4]{%
- \DTMifbool{ukrainian}{showdayofmonth}
- {%
- \DTMukrainianordinal{##3}\DTMukrainiandaymonthsep
- \DTMukrainianmonthname{##2}%
- }%
- {%
- \DTMukrainianMonthname{##2}%
- }%
+ \DTMifbool{ukrainian}{abbr}%
+ {\DTMukrainianshortmonthname{##2}}%
+ {\DTMukrainianmonthname{##2}}%
\DTMifbool{ukrainian}{showyear}%
{%
\DTMukrainianmonthyearsep
@@ -101,9 +92,77 @@
}%
{}%
}%
+ \renewcommand*\DTMDisplaydate[4]{%
+ \ifDTMshowdow
+ \ifnum##4>-1
+ \DTMifbool{ukrainian}{abbr}%
+ {\DTMukrainianshortWeekdayname{##4}}%
+ {\DTMukrainianWeekdayname{##4}}%
+ \DTMukrainiandowdaysep
+ \DTMifbool{ukrainian}{showdayofmonth}%
+ {%
+ \DTMukrainianordinal{##3}%
+ \DTMukrainiandaymonthsep
+ }%
+ {}%
+ \DTMifbool{ukrainian}{abbr}%
+ {\DTMukrainianshortmonthname{##2}}%
+ {\DTMukrainianmonthname{##2}}%
+ \DTMifbool{ukrainian}{showyear}%
+ {%
+ \DTMukrainianmonthyearsep
+ \DTMukrainianyear{##1}%
+ }%
+ {}%
+ \else
+ \DTMifbool{ukrainian}{showdayofmonth}
+ {%
+ \DTMukrainianordinal{##3}%
+ \DTMukrainiandaymonthsep
+ \DTMifbool{ukrainian}{abbr}%
+ {\DTMukrainianshortMonthname{##2}}%
+ {\DTMukrainianMonthname{##2}}%
+ }%
+ {%
+ \DTMifbool{ukrainian}{abbr}%
+ {\DTMukrainianshortMonthname{##2}}%
+ {\DTMukrainianMonthname{##2}}%
+ }%
+ \DTMifbool{ukrainian}{showyear}%
+ {%
+ \DTMukrainianmonthyearsep
+ \DTMukrainianyear{##1}%
+ }%
+ {}%
+ \fi
+ \else
+ \DTMifbool{ukrainian}{showdayofmonth}
+ {%
+ \DTMukrainianordinal{##3}%
+ \DTMukrainiandaymonthsep
+ \DTMifbool{ukrainian}{abbr}%
+ {\DTMukrainianshortMonthname{##2}}%
+ {\DTMukrainianMonthname{##2}}%
+ }%
+ {%
+ \DTMifbool{ukrainian}{abbr}%
+ {\DTMukrainianshortMonthname{##2}}%
+ {\DTMukrainianMonthname{##2}}%
+ }%
+ \DTMifbool{ukrainian}{showyear}%
+ {%
+ \DTMukrainianmonthyearsep
+ \DTMukrainianyear{##1}%
+ }%
+ {}%
+ \fi
+ }%
}%
- {% time style (use default)
- \DTMsettimestyle{default}%
+ {% time style (ignores seconds)
+ \renewcommand*\DTMdisplaytime[3]{%
+ \number##1
+ \DTMukrainiantimesep\DTMtwodigits{##2}%
+ }%
}%
{% zone style
\DTMresetzones
@@ -195,8 +254,8 @@
\renewcommand*{\DTMDisplay}{\DTMdisplay}%
}
\newcommand*{\DTMukrainianzonemaps}{%
- \DTMdefzonemap{02}{00}{EET}%
- \DTMdefzonemap{03}{00}{EEST}%
+ \DTMdefzonemap{02}{00}{EET}% Східноєвропейський час
+ \DTMdefzonemap{03}{00}{EEST}% Східноєвропейський літній час
}
\DTMifcaseregional
@@ -225,6 +284,28 @@
{\DTMsetstyle{ukrainian-numeric}}
}%
}%
-\endinput
+%%
+%% ----------------------------------------------------------------
+%% datetime2-ukrainian.dtx
+%% Copyright 2015 Nicola Talbot
+%% 2017 Sergiy M. Ponomarenko
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `inactive'.
+%%
+%% This work consists of the files datetime2-ukrainian.dtx
+%% datetime2-ukrainian.ins
+%% datetime2-ukrainian-utf8.ldf,
+%% datetime2-ukrainian-ascii.ldf
+%% datetime2-ukrainian.ldf.
+%% ----------------------------------------------------------------
+%%
%%
%% End of file `datetime2-ukrainian.ldf'.