from datetime import datetime, timezone
import pytz
today = datetime.now().replace(tzinfo=pytz.timezone('Asia/Kolkata'))
today_again = datetime.now().replace(tzinfo=pytz.timezone('Asia/Kolkata'))
print(today - today_again, today.tzinfo)
Why is the difference between today and today_again datetime object is 1 day and not zero?
Tried it without timezone info and found out to be working fine