mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
@@ -288,12 +288,12 @@ odoo.define('web_timeline.TimelineController', function (require) {
|
||||
default_context['default_'.concat(this.date_delay)] = 1;
|
||||
}
|
||||
if (this.date_start) {
|
||||
default_context['default_'.concat(this.date_start)] = moment(item.start).add(1, 'hours').format(
|
||||
default_context['default_'.concat(this.date_start)] = moment.utc(item.start).format(
|
||||
'YYYY-MM-DD HH:mm:ss'
|
||||
);
|
||||
}
|
||||
if (this.date_stop && item.end) {
|
||||
default_context['default_'.concat(this.date_stop)] = moment(item.end).add(1, 'hours').format(
|
||||
default_context['default_'.concat(this.date_stop)] = moment.utc(item.end).format(
|
||||
'YYYY-MM-DD HH:mm:ss'
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user