mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 20:38:50 +00:00
Improve event attendees editor
- Avoid repetitive AJAX queries; - Improve handling of daylight changes.
This commit is contained in:
committed by
Ludovic Marcotte
parent
4d52c9d7e4
commit
881d99262d
@@ -218,7 +218,7 @@ Date.prototype.stringWithSeparator = function(separator) {
|
||||
|
||||
Date.prototype.addDays = function(nbrDays) {
|
||||
var milliSeconds = this.getTime();
|
||||
milliSeconds += 86400000 * nbrDays;
|
||||
milliSeconds += 86400000 * Math.round(nbrDays);
|
||||
this.setTime(milliSeconds);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user