From 8e7bc120761bfc8920f8868f8e451118ea5f47a8 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 21 Mar 2015 22:00:17 +0000
Subject: datetime (21mar15)

git-svn-id: svn://tug.org/texlive/trunk@36583 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/datetime/dt-french.def | 23 +++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/datetime/dt-french.def')

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'.
-- 
cgit v1.2.3

