diff --git a/ChangeLog b/ChangeLog index fd8007529..ef48b8720 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-10-26 Wolfgang Sourdeau + * UI/WebServerResources/UIxAppointmentEditor.js: correctly handles + french and ISO dates. + * UI/Scheduler/UIxFreeBusyUserSelector.[hm]: added code an ivars from UIxContactSelector to handle contact lists (current and additional contacts). diff --git a/UI/WebServerResources/UIxAppointmentEditor.js b/UI/WebServerResources/UIxAppointmentEditor.js index 217ad05cb..954985bfe 100644 --- a/UI/WebServerResources/UIxAppointmentEditor.js +++ b/UI/WebServerResources/UIxAppointmentEditor.js @@ -176,10 +176,15 @@ function saveEvent(sender) { } function _dayAsShortString(node) { + var dateStr = ''; var date = node.value.split("/"); - if (date.length != 3) + if (date.length == 3) + dateStr += date[2] + date[1] + date[0]; + else { date = node.value.split("-"); - return date[2] + date[1] + date[0]; + dateStr += date[0] + date[1] + date[2]; + } + return dateStr; } function startDayAsShortString() {