Based on this answer, the following MWE used to work:
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{nynorsk}
\renewcommand\datenynorsk{%
\def\today{\number\day.~\ifcase\month\or
i fyrste\or i andre\or i tredje\or i fjerde\or i femte\or i sjette\or
i sjuande\or i åttande\or i niande\or i tiande\or i ellevte\or
i tolvte\fi
\space\number\year}}
\begin{document}
\today
\end{document}
Presumably due to a recent change in polyglossia
, the command \datenynorsk
is no longer recognized:
! LaTeX Error: Command \datenynorsk undefined.
What do I need to change to the original code above to be able to redefine the month names in the current version of polyglossia?