summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/datetime2-romanian/datetime2-romanian-test.tex
blob: a6ab118e86bb238529348f91ea5566aa2a061144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\usepackage[en-GB,en-US]{datetime2}

\newcommand*{\teststyle}[1]{%
  \DTMsetstyle{#1}
  \texttt{#1}:\par
  \DTMnow\par
  \DTMNow\par
}

\newcommand*{\testall}[1]{%
  \DTMlangsetup*{#1}
  \texttt{#1}:\par
  \teststyle{default}
  \teststyle{iso}
  \teststyle{english}
  \teststyle{en-GB}
  \teststyle{en-GB-numeric}
  \teststyle{en-US}
  \teststyle{en-US-numeric}
  \teststyle{romanian}
  \teststyle{romanian-numeric}
}

\begin{document}

\testall{showdayofmonth=true,abbr=false}
\testall{showdayofmonth=false}
\testall{abbr=true}

\end{document}