2015-10-20 | Paul Boddie | raw files shortlog changelog graph | Fixed the start day of period-based empty day production. | |
imiptools/period.py (file) |
1.1 --- a/imiptools/period.py Tue Oct 20 19:42:52 2015 +0200 1.2 +++ b/imiptools/period.py Tue Oct 20 20:00:32 2015 +0200 1.3 @@ -814,7 +814,7 @@ 1.4 'start' day and until the given 'end' day. 1.5 """ 1.6 1.7 - last_day = start 1.8 + last_day = start - timedelta(1) 1.9 all_days = days.keys() 1.10 all_days.sort() 1.11