Silly Question, but couldn't find the proper answer. I converted my datetime object from UTC to ist using dateutils.
utc = datetime.utcnow()
UTC = tz.gettz('UTC')
indian = tz.gettz('Asia/Kolkata')
ind = utc.replace(tzinfo=UTC)
ind.astimezone(indian).replace(microsecond=0).__str__()
Output
'2019-07-30 16:32:04+05:30'
I would like to remove the +5:30 part, how do I go about doing that, except splitting the string on '+' symbol, or how do I avoid it being added in the first place.