| commit | 5c440d92f7f218d0488d7c5625fa231035c85b03 | [log] [tgz] |
|---|---|---|
| author | Saša Živkov <sasa.zivkov@sap.com> | Fri Feb 21 16:34:41 2025 +0100 |
| committer | Saša Živkov <sasa.zivkov@sap.com> | Fri Feb 21 16:34:41 2025 +0100 |
| tree | a0d7591024c2a26c6685740715ddfccf84c5beb9 | |
| parent | ca546e1197767125ed45fbadaea7edeb690b491c [diff] |
Fix date/time parsing for the set-message REST API When the locale is not specified the parsing could fail because of subtle differences in how AM/PM is given in different locale(s). For example, in Germany the UI sent a timestamp with uppercase 'PM' but the DateTimeFormatter created with German locale expected lowercase 'pm'. Set the locale to ENGLISH to make parsing behaviour predictable. Change-Id: I82de7cde385251472853ab8998a5237268234187