calendar; init rel_post issue

This commit is contained in:
bkfox
2016-06-29 02:23:56 +02:00
parent 3d8abd9df8
commit dd2ccac3c0
6 changed files with 86 additions and 13 deletions

View File

@ -530,9 +530,9 @@ class Calendar(Section):
) for day in range(1, count+1)
],
'month': date,
'today': tz.datetime.today(),
'prev_month': date - tz.timedelta(days=10),
'next_month': date + tz.timedelta(days=31),
'next_month': date + tz.timedelta(days=count),
})
return context