﻿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
27082	Make timezone.localtime() default to timezone.now() when no value is given	Baptiste Mispelon	nobody	"Sometimes I find that I need to get the current date in the context of the active time zone.

As far as I understand, the correct way to do this is `timezone.localtime(timezone.now()).date()`.

It'd be nice if we `localtime` would default to using `timezone.now()` is no value is given, so that I could simply do `timezone.localtime().date()`.


This should be straightforward to implement, except for the case where `settings.USE_TZ = False` because `timezone.now()` would then return a naive datetime and `localtime()` would throw an error."	New feature	closed	Utilities	1.10	Normal	duplicate			Unreviewed	0	0	0	0	0	0
