Hello,
I'm converting time with respect of country timezone,
Time is showing correct but timezone is showing incorrect,
For India and some other country:
Fri,Mar 19,2021 01:30 PM-11:30 PM IST
But For UAE and Afganitans
Fri,Mar 19,2021 12:00 PM-10:00 PM +04
In above example
for india timezone is showing IST
but for UAE and Afganistans it's showing +"04"
I need to show GMT there,
print(datetime.now().astimezone(pytz.timezone("Asia/Dubai")).strftime("%a,%b %d,%Y %I:%M %p %Z"))