Subject: | Fails with DateTime 1.37 or later |
The DateTime 'language' argument and DefaultLanguage() static methods have long been deprecated in favor of 'locale' and DefaultLocale() respectively. DateTime 1.37 removed these. The patch revises the code to use the now-required 'locale' and DefaultLocale().
The patch also incorporates https://rt.cpan.org/Ticket/Display.html?id=116999