jmclawson / biblatex-mla

MLA-style citations and bibliographies using Biblatex
23 stars 9 forks source link

mkdatezeros is deprecated #21

Closed moewew closed 3 years ago

moewew commented 4 years ago

Via https://tex.stackexchange.com/q/515318/35864

Consider

\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=mla, backend=biber]{biblatex}

\addbibresource{biblatex-examples.bib}

\begin{document}
\cite{sigfridsson}
\printbibliography
\end{document}

This MWE will produce the warning

Package biblatex Warning: '\mkdatezeros' is deprecated.
(biblatex)                Please use '\mkyearzeros', '\mkmonthzeros' or
(biblatex)                '\mkdayzeros' as appropriate. 
(biblatex)                Falling back to '\mkmonthzeros'.

The warnings can be fixed by replacing \mkdatezero in the .lbx files by the appropriate new macro.

The warnings do not appear with american as document language, since american-mla.lbx does not use \mkdatezeros at all.

wusatosi commented 4 years ago

I'm getting this warning as well!

jmclawson commented 3 years ago

Fixed in the next release.