josephwright / biblatex-ieee

A biblatex implementation of the IEEE bibliography style
LaTeX Project Public License v1.3c
46 stars 14 forks source link

periodicals should not include day #64

Closed jacobmerson closed 3 months ago

jacobmerson commented 3 years ago

Periodicals should list the month and year, but should not include the day. Conference proceedings, patents, etc. do include the day.

See the ieee reference guide page

josephwright commented 2 years ago

@moewew Is there a simple 'date format per entry type' function? I don't remember one ...

moewew commented 2 years ago

Unfortunately, there is no interface yet for per-type date settings. I looked at this a while ago, but there were difficulties with the interface as well as a possible implementation. Thoughts are always welcome. See https://github.com/plk/biblatex/issues/863.

For now you can use the internal implementation of the date formats, e.g. https://github.com/michal-h21/biblatex-iso690/blob/86fd078483eabd7ee929a872a309547a1ecc5179/iso.bbx#L512-L515 or https://tex.stackexchange.com/a/419719/35864 (look for \changedateformat). Of course this uses internals which may not be as stable as a simple option.

If you only need to get rid of the day for some types you can of course use the old \clearfield approach.

josephwright commented 2 years ago

@moewew Thanks: what I thought

I'm reluctant to 'force' dropping of data by adding \clearfield to the style - that's irreversible so users can't override it (say if they have a newspaper article or similar that does need the day). Probably therefore one for the docs: a lot of people will only have the day in when they need it anyway.