mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +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:
1 parent
4e9fb345b7
commit
093f567d04
2 files changed
+10
-2
No files matched your search
@@ -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