\@ifundefined{exsheetgerman}{
\usepackage[american]{babel}
- \usepackage[american]{isodate}
\newcommand{\theexercise}{Exercise}
\newcommand{\thepoint}{Point}
\newcommand{\thepoints}{Points}
\newcommand{\theof}{of}
}{%
\usepackage[ngerman]{babel}
- \usepackage[german]{isodate}
\newcommand{\theexercise}{Aufgabe}
\newcommand{\thepoint}{Punkt}
\newcommand{\thepoints}{Punkte}
\newcommand{\theof}{von}
}
+\usepackage[useregional]{datetime2}
+
\RequirePackage{xifthen,geometry,fancyhdr,enumitem,comment,amssymb}
\newcounter{exsheet2@pointsum}
\def\@instructions{\ }
\newcommand{\instructions}[1]{\def\@instructions{#1}}
+\let\olddate\date
+\DTMsavenow{exsheet2@today}
+\renewcommand{\date}[1]{\olddate{#1}\DTMsavedate{exsheet2@today}{#1}}
+
\geometry{a4paper,textwidth=16cm,textheight=23cm}
\@semester
}
\fancyhead[C]{%
- {\isodate \today}
+ {\DTMsetdatestyle{iso}\DTMusedate{exsheet2@today}}
}
\fancyhead[R]{%
\@auth\\
\vspace*{1em}
- \today\\
+ {\DTMusedate{exsheet2@today}} \\
\vspace*{1em}
\@curriculum \\