Django timezone.now() not returning current datetime when script running using supervisor
change your TIME_ZONE in settings.py
TIME_ZONE =  'Asia/Kolkata'
and then try datetime.now() it will give time in IST
I am running python script using supervisor. Script has function timezone.now(). This always returns date when I started supervisor.
I am not able to find out why timezone giving the wrong date.
Can anyone help?