Revision 1d1f44f3
Added by Serghei Mihai over 10 years ago
calebasse/personnes/models.py | ||
---|---|---|
390 | 390 |
| models.Q(start_date=date, end_date=date, start_time__isnull=True, end_time__gt=start_time) \ |
391 | 391 |
| models.Q(start_date=date, end_date=date, start_time__lt=end_time, end_time__isnull=True) \ |
392 | 392 |
| models.Q(start_date=date, end_date=date, start_time__lte=start_time, end_time__gt=start_time) \ |
393 |
| models.Q(start_date=date, end_date=date, start_time__lt=end_time, end_time__gte=end_time)
|
|
393 |
| models.Q(start_date=date, end_date=date, start_time__lt=end_time, end_time__lte=end_time)
|
|
394 | 394 |
return self.filter(filter_query) |
395 | 395 |
|
396 | 396 |
def time2french(time): |
Also available in: Unified diff
agenda: user unavailability begins at the end of his schedules
Closes #4722