summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/datetime2-french/datetime2-french-test.tex
blob: 3de529d56aec6abcd906ca16859780539af4bfca (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{french}
  \teststyle{french-numeric}
}

\begin{document}

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

\end{document}