DateTimePicker: Display bug . instead of : when data binding (datatype date) on value instead of dateValue
OpenUI5 version: 1.103.0
Browser/version (+device/version): Google Chrome 103.0.5060.114 (same problem in Edge and Safari)
Any other tested browsers/devices(OK/FAIL): FAIL (I think the problem is not browser related)
URL (minimal example if possible): https://openui5.hana.ondemand.com/entity/sap.m.DateTimePicker/sample/sap.m.sample.DateTimePicker
User/password (if required and possible - do not post any confidential information here): none
Steps to reproduce the problem:
- Open the URL https://openui5.hana.ondemand.com/entity/sap.m.DateTimePicker/sample/sap.m.sample.DateTimePicker
- Open the popup menu for sample "DateTimePicker using DataBinding"
- In the popup the hours, minutes and seconds are not separated by : the UI show . (samples from above works)
What is the expected result? hours, minutes and seconds should separated by : instead of .
What happens instead? The separation is by .
Any other information? (attach screenshot if possible)
Change this
<DateTimePicker
id="DTP5"
value="{path:'/dateValue', type:'sap.ui.model.type.DateTime', formatOptions: { style: 'medium', strictParsing: true}}"
class="sapUiSmallMarginBottom"/>
to
<DateTimePicker
id="DTP5"
dateValue="{path:'/dateValue', type:'sap.ui.model.type.DateTime', formatOptions: { style: 'medium', strictParsing: true}}"
class="sapUiSmallMarginBottom"/>
When you use the dateValue for the binding with a date type, then it is ok.
Hello @denisw160 ,
Thank you for sharing this finding. I've created an internal incident 2280136834. The status of the issue will be updated here in GitHub.
Regards, Todor
Fixed with fba46983ca8d438a50f3f1b1de62ae9afc719e89 and included in UI5 version 1.106 and above