Topic on VisualEditor/Feedback

Automatic reference generation from doi gives incorrect date formatting

2
Hemiauchenia (talkcontribs)

When automatic citation by doi is used, the date given in the generated reference is given the format of year-month in numbers, so for instance March 2004 is given as 2004-03, which throws up a bad date Cs1 error.

Whatamidoing (WMF) (talkcontribs)

This is a known problem. The date isn't "incomplete", as there is no day of publication to include in the date; it's just a format that CS1 templates don't accept. If memory serves, the Citoid devs and the CS1 template programmers were talking about having the template interpret the number, so that if the template parameter said 2004-03, then the template would display as "March 2004". I don't know if this is being worked on, or if they decided to not do it (e.g., for fear of interpreting a typo as meaning "March 2004" when it ought to have been "3 January 2004").

Reply to "Automatic reference generation from doi gives incorrect date formatting"