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!
  • This can be controlled in the style, with something like this:
    <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
  • edited July 6, 2012
    This can be set in the citation style:
    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>
  • Hi all,

    thanks!!!! a lot!! this was exactly what I was searching for...

    regards
Sign In or Register to comment.