summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-welsh.def')
-rw-r--r--Master/texmf-dist/tex/latex/datetime/dt-welsh.def15
1 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
index b70a94b3ca6..1e39a806a71 100644
--- a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
+++ b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def
@@ -7,7 +7,7 @@
%% datetime.dtx (with options: `dt-welsh.def,package')
%%
%% datetime.dtx
-%% Copyright 2013 Nicola Talbot
+%% 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
@@ -65,10 +65,15 @@ Month numbers should go from 1 to 12}%
\global\let\monthnamewelsh\monthnamewelsh
\DeclareRobustCommand*\datewelsh{%
\renewcommand{\formatdate}[3]{%
-\@day=##1\relax\@month=##2\relax\@year=##3\relax
-\ifnum\@day=1\relax 1\/$^{\mathrm{a\tilde{n}}}$\else
-\number\@day\fi \space a\space viz\space
-\monthnamewelsh[\@month]\space\number\@year}}%
+ \@day=##1\relax\@month=##2\relax\@year=##3\relax
+ \ifnum\@day=1\relax
+ 1\/$^{\mathrm{a\tilde{n}}}$%
+ \else
+ \number\@day
+ \fi
+ \space
+ \monthnamewelsh[\@month]\space\number\@year}%
+}%
\global\let\datewelsh\datewelsh
\endinput
%%