[SOLVED] Ntp and datetime, uses local names on days, i want english

First hour messing around in openhab, i have one small issue, i use the ntp binding

my date.things contains the following

ntp:ntp:demo  [ hostname="nl.pool.ntp.org", refreshInterval=60, refreshNtp=30 ]

my date.items

DateTime Date  "Date [%1$tA, %1$td.%1$tm.%1$tY %1$tH:%1$tM]"  { channel="ntp:ntp:demo:dateTime" }

and my sitemap looks like this
Frame label=“Date” {
Text item=Date icon=“calendar”

Problem is i get norwegian names on days like Mandag, i want it to be Monday, tried changing some windows settings, or the locale inside ntp settings in things but didnt help.

Anyone know?

Have you set the locales on the openHAB server?

Also, there is a position in paper ui wonder if that makes a difference?

weirdly it kinda just updated it self after x hours, i think its because i changed every setting on my computer to usa region. because the settings in things is set to

Timezone: Europe/Oslo
Locale: (blank)

Oh well it works now :slight_smile:

1 Like

Here’s my simple tutorial on how you can translate the NTP Binding to your own language…