def get_year_start(day=None):
    day = add_timezone(day or datetime.date.today())
    return day.replace(month=1).replace(day=1)
Returns January 1 of the given year.
dataset/ETHPy150Open caktus/django-timepiece/timepiece/utils/__init__.py/get_year_start