I am getting one issue with my client server web based application.
I have developed a portal using Django framework. my server is situated on AWS (north Virginia). it is one type of time alert application. my issue is when I set time from UI side from india, it is getting stored as per indian time. But the cronjob on server side execute it as per server time(as per server instance time).
e.g. I have set time 3.00 PM, then it should create alert on 3.00PM, but it create alerts as per server time 9.00 AM. It is timezone issue but I couldnot understand how to handle this situation.
In Settings.py
LANGUAGE_CODE = 'en-us'
#TIME_ZONE = 'Asia/Kolkata'
#TIME_ZONE = 'America/Chicago'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
#USE_TZ = True
I am using jquerydatetime picker on client side, which gets a default system time. Please suggest a way how can I solve this issue.