I’ve managed to obtain an item representing the abbreviation for the time zone using another way instead applying the [%1$tZ] formatter to the item linked to the dateTime channel.
I set the items file in this way
String ActualTimeString “actual time (string): [%s]” {channel=“ntp:ntp:house:string”}
DateTime TimeZone “actual time zone: [%1$tZ]” {channel=“ntp:ntp:house:dateTime”}
String TimeZone_String “actual time zone (string): [%s]”
and I added this to my rules file
rule “actual time zone program”
when
Item TimeZone changed
then
val timezone_String = ActualTimeString.state.toString.split(’ ').get(2)
TimeZone_String.postUpdate(timezone_String)
end
The result is that the TimeZone_String item gets updated with the three character abbreviation related to the current time zone.
I mark this discussion solved because the aim was to have an item filled with the abbreviation for the time zone and that has been obtained, even if in a different way than with the [%1$tZ] formatter. The problem about the formatter could be further discussed and investigated in the issue opened in github.
Bye