mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-08 06:48:51 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user