I can't seem to change datetime2's settings when using the option useregional
to display the date in the language given to babel
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage[useregional]{datetime2}
%
\DTMnewdatestyle{mydatestyle}{
\renewcommand*{\DTMdisplaydate}[4]{##3 \DTMmonthname{##2}}
\renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}
}
\DTMsetdatestyle{mydatestyle}
% -------------------
\begin{document}
\today
\end{document}
I'd like the output to be 08 settembre
, with the leading zero in front of the 8 and without the year, but I'm still getting the default 8 settembre 2019
.
What am I doing wrong?