openhab-core/bundles/org.openhab.core.addon.marketplace
Yannick Schaus 96e8d3648b
Force English locale to parse marketplace UI components timestamp (#2663)
Related to https://community.openhab.org/t/error-installing-widgets-from-community-in-user-interfaces/128729/16

When the locale is not English the timestamp might fail to be deserialized into a Date:

```
2022-01-02 21:01:42.260 [ERROR] [munity.CommunityUIWidgetAddonHandler] - Unable to parse YAML: Cannot deserialize value of type `java.util.Date` from String "Oct 2, 2021, 9:24:59 PM": not a valid representation (error: Failed to parse Date value 'Oct 2, 2021, 9:24:59 PM': Unparseable date: "Oct 2, 2021, 9:24:59 PM")

 at [Source: (StringReader); line: 36, column: 12] (through reference chain: org.openhab.core.ui.components.RootUIComponent["timestamp"])

2022-01-02 21:01:42.261 [ERROR] [munity.CommunityUIWidgetAddonHandler] - Widget from marketplace is invalid: Unable to parse YAML
```

Signed-off-by: Yannick Schaus <github@schaus.net>
2022-01-04 12:25:15 +01:00
..
src/main Force English locale to parse marketplace UI components timestamp (#2663) 2022-01-04 12:25:15 +01:00
.classpath Added nullness annotations to Addon related classes (#2605) 2021-12-12 10:07:05 +01:00
.project Community Marketplace Add-on Service - initial contribution (#2405) 2021-09-14 09:04:04 +02:00
NOTICE Community Marketplace Add-on Service - initial contribution (#2405) 2021-09-14 09:04:04 +02:00
pom.xml pom reference update from http to https (#2644) 2021-12-23 22:55:20 +01:00