I use the following code in my preamble to automatically set the urldate field. However it outputs date as say 2015/2/2, instead of 2015/02/02, which Biber doesn't like. How can I modify the code to rectify this?
% Set urldate to today
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map[overwrite=true]{
\pertype{online}
\step[fieldset=urldate,fieldvalue={\the\year-\the\month-\the\day}]
}
}
}
cfr - You are right, of course. I am just a little too lazy. I only use it for trivial university report submissions anyway.
– bluprince13 Feb 26 '15 at 00:00