work on theme and translations

This commit is contained in:
bkfox
2017-12-14 15:56:40 +01:00
parent 01325a258a
commit 9ad47b795a
11 changed files with 738 additions and 794 deletions

View File

@ -633,7 +633,8 @@ class Schedule(models.Model):
if self.frequency == Schedule.Frequency.ponctual:
return []
date = utils.date_or_default(date, True).replace(day=1)
# set to 12h in order to avoid potential bugs with dst
date = utils.date_or_default(date, True).replace(day=1, hour=12)
freq = self.frequency
# last of the month