﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27637	timeuntil, timesince breaks in leap year edge case	Mariusz Felisiak	vinay karanam	"`django.utils.timesince.timesince` and `django.utils.timesince.timeuntil` breaks in leap year edge case. Bug appeared after [https://github.com/django/django/commit/6700c909358d2ff9ff96f28dbc549906d8d32206 6700c909358d2ff9ff96f28dbc549906d8d32206]. If we take two dates from different years where one of them is leap and leap day is not between days gap then `timeuntil` returns incorrect result e.g.

{{{timeuntil(datetime.date(2016, 12, 25), datetime.date(2017, 1, 1))}}}

returns `1 week, 1 day != 1 week`.
"	Bug	closed	Utilities	1.9	Release blocker	fixed	timeuntil timesince		Accepted	0	0	0	0	0	0
