Partial mapping / transformation of item value

Hi,

I would like to transform a date time format into another language.

e.g.
Tuesday, 25.04.2017 -> Dienstag, 25.04.2017

Basically I just want to transform the day representation (-> Tuesday). I tried the following two mappings (inside items file) but none resulted in the string I was looking for:

  1. “[MAP(ntp.de.map):%1$tA, %1$td.%1$tm.%1$tY]” -> results in an error, since the time is also passed to transformation; error log: "Could not transform ‘Tuesday, 25.04.2017’ with the file ‘ntp.de.map’
  2. “[MAP(ntp.de.map):%1$tA][%1$td.%1$tm.%1$tY]” -> results in “Dienstag”, thus the day is transformed, however the time is missing in the output

Is there any way how I could display the trasformed day and time, without splitting it into two items?

No one? :confused:

Did you solve this ?

I have exactly the same issue :slight_smile:

br,
Peter