summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/datetime/dt-french.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-21 22:00:17 +0000
committerKarl Berry <karl@freefriends.org>2015-03-21 22:00:17 +0000
commit8e7bc120761bfc8920f8868f8e451118ea5f47a8 (patch)
tree1a81eacc37e13038ba914932eaf1827d6e60a0e1 /Master/texmf-dist/tex/latex/datetime/dt-french.def
parent23f0be67724ea17f3b1236d2f5f5cbee74f650f9 (diff)
datetime (21mar15)
git-svn-id: svn://tug.org/texlive/trunk@36583 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime/dt-french.def')
-rw-r--r--Master/texmf-dist/tex/latex/datetime/dt-french.def23
1 files changed, 22 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime/dt-french.def b/Master/texmf-dist/tex/latex/datetime/dt-french.def
index d2aa9887a87..e024d904ccf 100644
--- a/Master/texmf-dist/tex/latex/datetime/dt-french.def
+++ b/Master/texmf-dist/tex/latex/datetime/dt-french.def
@@ -7,7 +7,7 @@
%% datetime.dtx (with options: `dt-french.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
@@ -94,6 +94,27 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}%
\number\@day\ifnum\@day=1{\ier}\fi\space
\monthnamefrench[\@month]\space \number\@year}}%
\global\let\datefrench\datefrench
+\providecommand{\shortmonthnamefrench}[1][\month]{%
+\@orgargctr=#1\relax
+\ifcase\@orgargctr
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (jan.) to 12 (dec.)}%
+\or jan.%
+\or f\'evr.%
+\or mars%
+\or avr.%
+\or mai%
+\or juin%
+\or juill.%
+\or ao\^ut%
+\or sept.%
+\or oct.%
+\or nov.%
+\or d\'ec.%
+\else
+\PackageError{datetime}{Invalid Month number \the\@orgargctr}{%
+Month numbers should go from 1 (jan.) to 12 (dec.)}%
+\fi}
\endinput
%%
%% End of file `dt-french.def'.