+ eventDate.value = e.startDateTime.toLocaleString(Qt.locale(),'dd-MMM-yyyy');
Format 'dd-MMM-yyyy' needs to be localized too like being done for time string.
var timeFormat = i18n.tr("hh:mm"); var startTime = e.startDateTime.toLocaleTimeString(Qt.locale(), timeFormat);
« Back to merge proposal
+ eventDate.value = e.startDateTime .toLocaleString (Qt.locale( ),'dd-MMM- yyyy');
Format 'dd-MMM-yyyy' needs to be localized too like being done for time string.
var timeFormat = i18n.tr("hh:mm"); .toLocaleTimeSt ring(Qt. locale( ), timeFormat);
var startTime = e.startDateTime