chrisspen / django-chroniker

Easily control cron jobs through Django's admin.
138 stars 70 forks source link

Timezone Support #88

Open diegofcoelho opened 7 years ago

diegofcoelho commented 7 years ago

I have noticed that chroniker if following UTC time for both scheduling and recalculating dates and I was wondering if you could add support to provide a standard timezone or get it from django when convenient.

My settings.py are properly configured:

TIME_ZONE = 'America/Fortaleza'
USE_I18N = True
USE_L10N = True
USE_TZ = True

But I believe chroniker itself is responsible for calculating the time shift between zones. At least is what I believe this StackOverFlow user has shown when explaining about a related problem (not to chroniker) in this answer.

Did I miss something during chroniker installation?

billyquith commented 7 years ago

Yes, this would be nice. Times may want to be in local time as UTC won't shift for daylight saving and you may want to run something after the working day ends.