numeric date
Hi All,
is it possible to change the behavior for the numeric-date-display? I will need some prefix-"0" if it's a single digit...
so that March e.g. will be "03" rather than "3"
I try to change the and added:
01
02
03
04
……
but it doesn't work. Any Idea?
I will need the prefix-"0" for the days to..
so at the end of the day I would love to have a date formatted like: 04.01.2012 (dd-mm-yyyy)
thanks for your help!
is it possible to change the behavior for the numeric-date-display? I will need some prefix-"0" if it's a single digit...
so that March e.g. will be "03" rather than "3"
I try to change the and added:
01
02
03
04
……
but it doesn't work. Any Idea?
I will need the prefix-"0" for the days to..
so at the end of the day I would love to have a date formatted like: 04.01.2012 (dd-mm-yyyy)
thanks for your help!
<date variable="issued">
<date-part name="day" form="numeric-leading-zeros" suffix="."/>
<date-part name="month" form="numeric-leading-zeros" suffix="."/>
<date-part name="year"/>
</date>
The full story is in the CSL Specification
http://citationstyles.org/downloads/specification.html#date-part
<date variable="issued" delimiter=".">
<date-part name="day" form="numeric-leading-zeros"/>
<date-part name="month" form="numeric-leading-zeros"/>
<date-part name="year"/>
</date>
thanks!!!! a lot!! this was exactly what I was searching for...
regards