NTP: how to show Week in year?

I try to show the “Week in year” on my sitemap. But my itemconfig dosn’t work.
Regarding tohttp://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html I tried:

DateTime CurrentKW “Kalenderwoche: [%1$tw]” (calendar) {channel=“ntp:ntp:local:dateTime” }

But the sitemap shows an error.
How can I display the wanted informations?

– Christoph

The %1$tW syntax is implemented by StringFormatter. The supported parameters are here:


Week of the year is not supported.

You will have to create an unbound item (aka virtual item) and a rule to calculate the week in the year and update the unbound item.