Skip to content

花样玩意

e71828 edited this page Nov 21, 2021 · 2 revisions

冗余的日期

\newcommand{\Datum}[1]{%
    \StrBehind[2]{#1}{/}[\Jahr]
    \StrBetween[1,2]{#1}{/}{/}[\Monat]
    \StrBefore[1]{#1}{/}[\Tag]
    \def\ucas@value@ch@date{{\upshape\Jahr}~{年}~{\upshape\Monat}~{月}~{\upshape\Tag}~{日}}
    \def\ucas@value@en@date{\monthname[\Monat],\enskip \Jahr}
}
\Datum{01/07/2047}%	dd/mm/yyyy
Clone this wiki locally