summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrdate.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-19 23:43:25 +0000
committerKarl Berry <karl@freefriends.org>2015-01-19 23:43:25 +0000
commit83b4f07dfc662cf6c2632a34e88a1aad0009e35a (patch)
treed6c61dbd9ba41e2c7353bdcf23acb151b52601ff /Master/texmf-dist/tex/latex/koma-script/scrdate.sty
parent3fef13606c698d4e277aaad8662b082f8f5c6fab (diff)
koma-script (19jan15)
git-svn-id: svn://tug.org/texlive/trunk@36095 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrdate.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/scrdate.sty22
1 files changed, 9 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrdate.sty b/Master/texmf-dist/tex/latex/koma-script/scrdate.sty
index b8ce5f44b45..66f139e7379 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrdate.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scrdate.sty
@@ -43,7 +43,7 @@
%% find a complete unmodified copy of LaTeX2e at
%% <http://www.ctan.org/pub/tex-archive/macros/latex/base/>.
%%
-%%% From File: $Id: scrkernel-version.dtx 1815 2014-10-28 10:15:59Z kohm $
+%%% From File: $Id: scrkernel-version.dtx 1900 2015-01-14 07:16:26Z kohm $
\begingroup
\catcode`\@11\relax
\ifx\KOMAScriptVersion\undefined
@@ -65,19 +65,19 @@
\fi
}
\fi
- \@CheckKOMAScriptVersion{2014/10/28 v3.14 KOMA-Script}%
+ \@CheckKOMAScriptVersion{2015/01/14 v3.15 KOMA-Script}%
\endgroup
-%%% From File: $Id: scrtime.dtx 1701 2014-02-26 10:04:57Z kohm $
+%%% From File: $Id: scrtime.dtx 1874 2014-12-11 13:46:00Z kohm $
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{scrdate}[%
- 2014/10/28 v3.14 KOMA-Script
+ 2015/01/14 v3.15 KOMA-Script
package
(day of the week)%
]
-%%% From File: $Id: scrkernel-basics.dtx 1809 2014-10-17 08:02:00Z kohm $
+%%% From File: $Id: scrkernel-basics.dtx 1897 2015-01-02 12:04:12Z kohm $
\RequirePackage{scrkbase}[\KOMAScriptVersion]
-%%% From File: $Id: scrtime.dtx 1701 2014-02-26 10:04:57Z kohm $
-%%% From File: $Id: scrtime.dtx 1701 2014-02-26 10:04:57Z kohm $
+%%% From File: $Id: scrtime.dtx 1874 2014-12-11 13:46:00Z kohm $
+%%% From File: $Id: scrtime.dtx 1874 2014-12-11 13:46:00Z kohm $
\newcommand*{\CenturyPart}[1]{\XdivY{#1}{100}}
\newcommand*{\DecadePart}[1]{\XmodY{#1}{100}}
\newcommand*{\@GaussYear}[3]{%
@@ -146,7 +146,7 @@
\protect\dayname@#1\space skipped}%
}{%
\@namedef{dayname@#1}##1{%
- \ifcase ##1
+ \ifcase\numexpr \XmodY{##1}{7}\relax
#8\or #2\or #3\or #4\or #5\or #6\or #7\fi%
}%
\AtBeginDocument{%
@@ -233,11 +233,7 @@
{\v{C}tvrtek}{P\'atek}{Sobota}{Ned\v{e}le}
\newdaylanguage{slovak}{Pondelok}{Utorok}{Streda}
{\v{S}tvrtok}{Piatok}{Sobota}{Nede\v{l}a}
-\def\@dayname#1{%
- \ifcase #1
- Monday\or Tuesday\or Wednesday\or Thursday\or
- Friday\or Saturday\or Sunday\fi%
-}
+\let\@dayname\dayname@english
\InputIfFileExists{scrdate.cfg}
{\typeout{*************************************^^J%
* Local config file scrdate.cfg used^^J%