¿Cómo deshacerse de (nd) de entradas varias sin fecha en Sigconf, formato de referencia ACM?

¿Cómo deshacerse de (nd) de entradas varias sin fecha en Sigconf, formato de referencia ACM?

Estoy intentando deshacerme de lo (n.d)que aparece en las citas.

A continuación se muestra mi MWP.

\documentclass[sigconf]{acmart}
\usepackage{filecontents}
\begin{filecontents}{ref.bib}
@misc{google,
  title={Google},
  howpublished={\url{https://google.com}},
  author={Google}
}
\end{filecontents}
\begin{document}

Something to cite~\cite{google}.

\bibliographystyle{ACM-Reference-Format}
\bibliography{ref.bib}

\end{document}

Intenté incluir el siguiente código, por ejemplo, deesteResponde justo antes \begin{document}. Sin embargo, obtengoSecuencia de control Indefinidoerror para \DeclareLabeldatey \field.

\DeclareLabeldate[online]{%
  \field{date}
  \field{year}
  \field{eventdate}
  \field{origdate}
  \field{urldate}
}

Estediscusión¿Insinúa que puede ser necesario modificar algo más?

Respuesta1

La solución más sencilla es utilizar biblatex. El archivoACM-Reference-Format.bbxdefine la siguiente macro:

\newbibmacro*{year}{%
  \iffieldundef{year}%
    {\printtext{[n.\ d.]}}%
    {\printfield{year}}%
}

Afortunadamente, podemos redefinir esta macro usando renewbibmacrode la siguiente manera:

\renewbibmacro*{year}{%
  \iffieldundef{year}%
    {}% We omitted the default value "[n. d.]" of ACM here!
    {\printfield{year}}%
}

Como resultado se obtuvo el siguiente registro biblatex:

@online{speedtest1,
  title = {{SQLite}, speedtest1},
  url   = {https://sqlite.org/cpu.html}
}

Renders sin fecha:

referencia biblatex sin el valor predeterminado cuando se omite la fecha

información relacionada