Monotone-Parent: a07c7ff422e43260171b2ab3e0d2fb3b29663f07

Monotone-Revision: 7405a4a0cafa826925a9b75bd0084728e46d2dad

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-26T17:35:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-26 17:35:45 +00:00
parent 4e9fb345b7
commit 093f567d04
2 changed files with 10 additions and 2 deletions
+3
View File
@@ -1,5 +1,8 @@
2006-10-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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).
@@ -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() {