I’ve been using 0.198.2 quite happily and doing simple date time manipulation using the following syntax:
item.checkfromtime = $now.minus({minutes:$node["SetConfig"].json["checkTimeLastMinutes"]});
Which would return
"checkfromtime":"2022-10-31T18:34:26.238+00:00"
But I just rolled it on to using 0.200.1 and now that SAME function appears to have been broken, with invalid weekData ?
My TZ=Europe/London
It now returns a message about Invalid weekData:
"checkfromtime":{
"ts": 1667239642354,
"_zone": {
"zoneName": "Europe/London",
"valid": true
},
"loc": {
"locale": "en-US",
"numberingSystem": null,
"outputCalendar": null,
"intl": "en-US",
"weekdaysCache": {
"format": {},
"standalone": {}
},
"monthsCache": {
"format": {},
"standalone": {}
},
"meridiemCache": null,
"eraCache": {},
"specifiedLocale": null,
"fastNumbersCached": null
},
"invalid": null,
"weekData": null,
"c": {
"year": 2022,
"month": 10,
"day": 31,
"hour": 18,
"minute": 7,
"second": 22,
"millisecond": 354
},
"o": 0,
"isLuxonDateTime": true
}
I’ve rolled back to 0.198.2 and the configuration is back working. Do I need to sort out the LOCALE ? I noticed that in the message it mentions en-US formatting.