Do you have some feature in mind that you'd love to see in Couch? Let us know.
2 posts Page 1 of 1
ISO-8601 numeric representation of the day of the week 1 (for Monday) through 7 (for Sunday).
<cms:date format='N' />
It is not documented in couch, but works. This option was added later, after couch docs were produced. For all the fresh options visit http://php.net/manual/en/function.date.php

The other option can be taken from docs: http://docs.couchcms.com/tags-reference/date.html
<cms:date format='w' /> Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday)
Also working with weeks and years found a nice parameter:

if using 'W' for the week number use 'o' for the year.

http://php.net/manual/en/function.date.php#106974

It gives us correct handling of 53d week: 01/01/2016 will be 2015y, 53rd week, instead of 53d week number of 2016 which causes mess in numeration if it's important.
2 posts Page 1 of 1
cron