IOTstack icon indicating copy to clipboard operation
IOTstack copied to clipboard

Node-RED npm is missing locales

Open Brezensalzer opened this issue 4 years ago • 1 comments

Hello, in my Node-RED flow I have a javascript statement that puts out a datetime string to the dashboard with "var ts = d.toLocaleString('de-DE');". So I expect to get the time like "13:27:14". But in the dashboard I see "1:27:14 PM" which is the locale "en-US". Probably that happens because the underlying npm was built with "small-icu" and not with "full-icu"?

Brezensalzer avatar May 27 '20 17:05 Brezensalzer

Yep, I think you're right. I will investigate this and see if it's possible to easily add.

Slyke avatar May 29 '20 01:05 Slyke