I'm trying to create a date style that results in
01 JUN 2020
\documentclass{article}
\usepackage[USenglish]{babel}
\usepackage[showseconds=false,useregional=text,calc]{datetime2}
\DTMnewdatestyle{mydatestyle}
{
\renewcommand*{\DTMdisplaydate}[4]{
\DTMtwodigits{##3} \MakeUppercase{\DTMshortmonthname{##2}} ##1}
\renewcommand*{\DTMDisplaydate}{\DTMdisplaydate}
}
\begin{document}
\DTMsetdatestyle{mydatestyle}
\today
\end{document}
but no matter where I wrap \MakeUppercase around it, it gives me
01 Jun 2020
Is there a way to simply change the case of the date without needing to redefine the month names? (which I cannot get to work with my datetime2 example, while the answers there work out of the box.
