Adrien Dieudonne
bbf63b0b56
[FIX] web: Calendar: correctly display events
...
Before this rev., the events in Calendar views (month mode) weren't
correctly displayed: the last day of the event wasn't displayed as
being part of the event. For instance, in leaves, a leave of 3 days
from the 16th of Augustus until the 18th was only displayed over
the 16th and the 17th.
Moreover, when an event was created from a Calendar view with
option all_day=False, the default start and end dates weren't
correctly computed according to the user timezone, which could lead
to the creation of multiple days event whereas the user clicked on
a specific day. For instance, with timezone GMT+2, when clicking on
the 18th of Augustus in the Leave Calendar view (month mode), it
opened a dialog for the creation of a 2-day leave from the 18th to
the 19th.
This rev. fixes those two issues.
2017-08-17 17:40:41 +02:00
..
2017-08-17 17:24:00 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 00:32:12 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-07-30 07:14:49 +02:00
2017-08-06 04:40:09 +02:00
2017-07-30 04:40:00 +02:00
2017-07-05 11:48:45 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-07-25 12:26:50 +02:00
2017-08-06 07:14:52 +02:00
2017-07-25 12:26:50 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-08-06 04:40:09 +02:00
2017-08-09 14:20:54 +02:00
2017-07-17 11:52:51 +02:00
2017-07-25 12:26:50 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-10 16:22:36 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-17 16:42:06 +02:00
2017-07-25 12:26:50 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 04:40:09 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-07-25 12:26:50 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-10 11:29:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-04-28 09:06:53 +02:00
2017-06-26 10:13:25 +02:00
2017-06-06 19:23:03 +02:00
2017-04-28 09:06:53 +02:00
2017-04-28 09:06:53 +02:00
2017-04-28 09:06:53 +02:00
2017-06-06 19:23:03 +02:00
2017-06-15 18:44:16 +02:00
2017-08-06 07:14:52 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-08-01 02:40:08 +02:00
2017-07-05 11:48:45 +02:00
2017-05-08 16:55:51 +02:00
2017-08-06 00:32:12 +02:00
2017-07-25 11:46:16 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 19:19:39 +02:00
2017-06-26 10:13:25 +02:00
2017-06-01 00:15:27 +02:00
2017-05-30 12:26:46 +02:00
2017-05-16 14:56:02 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-25 11:46:16 +02:00
2017-07-30 00:32:09 +02:00
2017-07-14 14:27:38 +02:00
2017-04-28 09:06:53 +02:00
2017-05-16 17:09:45 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-05 11:48:45 +02:00
2017-08-06 00:32:12 +02:00
2017-06-14 13:45:10 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-25 11:46:16 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-17 14:15:13 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-10 16:22:36 +02:00
2017-07-25 12:26:50 +02:00
2017-07-25 12:26:50 +02:00
2017-08-06 07:14:52 +02:00
2017-08-17 14:15:13 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-07-30 04:40:00 +02:00
2017-08-16 11:00:44 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 04:40:09 +02:00
2017-07-25 12:26:50 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-10 16:22:36 +02:00
2017-08-01 02:40:08 +02:00
2017-08-06 04:40:09 +02:00
2017-07-25 11:46:16 +02:00
2017-07-25 11:46:16 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-07-25 12:26:50 +02:00
2017-08-10 16:22:36 +02:00
2017-07-05 11:48:45 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-09 14:20:54 +02:00
2017-06-09 16:43:27 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-01 02:40:08 +02:00
2017-07-17 13:33:29 +02:00
2017-08-06 07:14:52 +02:00
2017-08-17 15:14:50 +02:00
2017-08-10 16:22:36 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-07-24 15:45:48 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-08-06 04:40:09 +02:00
2017-08-17 17:40:41 +02:00
2017-07-30 04:40:00 +02:00
2017-08-10 13:56:22 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-09 14:20:54 +02:00
2017-05-05 12:27:07 +02:00
2017-08-06 04:40:09 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-06-01 02:40:07 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-07-30 04:40:00 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-07-25 12:26:50 +02:00
2017-08-09 14:43:39 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-07-25 11:46:16 +02:00
2017-07-30 04:40:00 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-10 16:22:36 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-07-30 04:40:00 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 04:40:09 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00
2017-08-06 07:14:52 +02:00