summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-31 22:47:47 +0000
committerKarl Berry <karl@freefriends.org>2016-08-31 22:47:47 +0000
commit59fe7990216c0d13eb0e9797c7dc563d2f1705b5 (patch)
tree75ab31dad47d808008a03a860422180859317e05 /Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps
parent81ee5e54df53e5bb20be20bfefae95dd1e9815ef (diff)
jslectureplanner (31aug16)
git-svn-id: svn://tug.org/texlive/trunk@41965 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps')
-rw-r--r--Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps b/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps
index 4a23ae70cf9..9b7026373c8 100644
--- a/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps
+++ b/Master/texmf-dist/tex/latex/jslectureplanner/german-default.lps
@@ -42,10 +42,18 @@
\DefSemType{ws}{WS}{Wintersemester}% winter term
% Date formats
-\renewcommand*\lecdateformat{%
- \THEDAY.\,\twodigit{\THEMONTH}.\,\THEYEAR}% long date
-\renewcommand*\lecdateshortformat{%
- \THEDAY.\,\twodigit{\THEMONTH}.}% short date
+% Uses datetime2 syntax:
+% ##1: year
+% ##2: month
+% ##3: day
+% \DTMtwodigits: always output two digits
+\DTMrenewdatestyle{lecdate}{% long date: dd.\,mm.~yyyy
+\renewcommand*{\DTMdisplaydate}[4]{\DTMtwodigits{##3}.\,\DTMtwodigits{##2}.~##1}%
+}
+
+\DTMrenewdatestyle{lecshortdate}{% short date: dd.\,mm.
+\renewcommand*{\DTMdisplaydate}[4]{\DTMtwodigits{##3}.\,\DTMtwodigits{##2}.}%
+}
% Suffix to cancelled sessions
\renewcommand*\leccancel{\ -- keine \lectypesession}