mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 06:38:11 +08:00
Merge branch 'master' into refactor
This commit is contained in:
@@ -45,8 +45,6 @@ def add_years(d, years):
|
||||
return d.replace(year=new_date.year, month=new_date.month, day=new_date.day)
|
||||
|
||||
|
||||
|
||||
|
||||
def localtime(value=None) -> datetime:
|
||||
"""Override for timezone.localtime to deal with naive times and local times"""
|
||||
if settings.USE_TZ:
|
||||
|
||||
Reference in New Issue
Block a user