I have this minimal working example:
\documentclass{book}
\usepackage{filecontents}
\begin{filecontents}{chapterref.dbx}
\DeclareDatamodelFields[type=field,datatype=literal]{
shortdesc,
}
\DeclareDatamodelEntryfields{shortdesc}
\end{filecontents}
\usepackage[backref, refsegment=chapter, datamodel=chapterref,
style=trad-alpha % https://tex.stackexchange.com/a/69706/38244
]{biblatex}
\usepackage[colorlinks]{hyperref}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A. and Duthor, D.},
year = {2001},
title = {Alpha},
shortdesc = {Conference1},
}
@misc{N02,
author = {Nuthor, C.},
title = {New title},
year = {2001},
}
@misc{N03,
author = {Nuthor, C},
title = {More new title},
year = {2000},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\chapter{First Chapter}
Some more text \cite{A01}. More citation \cite{N02} and again \cite{N03}
\printbibliography
\end{document}
It produces:
and
What I am looking for is to remove the years from the bibliography items (highlighted in yellow) together with the immediate comma before, while keeping the rest as it are. The year is kind of redundant (as the year is already mentioned in the cite item {luckiliy, I don't have to cite any paper more than 100 years old}).
Any advice will be appreciated.
EDIT.
As explained by @AlanMunn's comments, the linked question is significantly different. In that case, the other person asked for removing the duplicate year (which are suffixed by a, b etc.). In my case, I would like to remove the year from the bibliography key.
EDIT 2. (Also commented by @AlanMunn) I am still getting the same result as before with the accepted answer of the linked question.



\AtEveryBibitem{\clearfield{year}}. The linked question is getting rid of the a, b etc used in articles by the same author with the same year. – Alan Munn Jun 07 '19 at 21:10extrayear(now calledextradateso nothing should happen anyway) and there isn't anyextradate/extrayearhere to begin with. Things might work if you delete theyearfield, but then that's slightly different. – moewe Jun 07 '19 at 21:10\clearfield{that element}and also for your question this is a solution. That is why I voted as duplicate, after I tried it myself and verified that the solution indeed works on your MWE. The difference is that 1. the element is different and 2. the element in the other question is automatically generated (the a, b suffix) and this one is not. So the thing you were missing is that you needed to change – Marijn Jun 08 '19 at 12:23extrayeartoyear, which was readily identified by the comment of @AlanMunn. – Marijn Jun 08 '19 at 12:24