1.1 --- a/imiptools/handlers/scheduling/common.py Sun Jun 04 18:28:18 2017 +0200
1.2 +++ b/imiptools/handlers/scheduling/common.py Sun Jun 04 20:15:44 2017 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Common scheduling functionality.
1.6
1.7 -Copyright (C) 2016 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -55,7 +55,7 @@
1.13 for user in users:
1.14 conflicts[user] = 0
1.15
1.16 - overlapping = freebusy.get_overlapping(handler.get_periods(handler.obj))
1.17 + overlapping = freebusy.get_overlapping(handler.get_periods(handler.obj, future_only=True))
1.18
1.19 # Where scheduling cannot occur, find the busy potential users.
1.20