summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrdate.sty
diff options
context:
space:
mode:
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%