Forum OpenACS Development: Re: Output Format for showCalendar Function on core.js

Collapse
Posted by Miguel Marin on
I will put the format output to y-mm-dd.

You can play with the formats for example:

If we take this date: 2005-09-08

Format: Output:
y-mm-dd 2005-09-08
yy-mm-dd 05-09-08
y-mm-d 2005-09-8
y-m-d 2005-9-8
y-mm-dd, D 2005-09-08, Thu
D M dd, y Thu Sep 08, 2005

So it depends of the format you specify since:

yyyy-mm-dd returns yyyy-09-08 not 2005-09-08 but this is because the way it was designed.