def time_settings(self, is_dst):
this_is_dst = is_dst
if settings.USE_TZ:
tz_setting = settings.TIME_ZONE
this_timezone = tz_setting
else:
this_timezone = 'Europe/Helsinki'
return this_is_dst, this_timezone