Currently for formatting UTC offset, the following is used:
def fake_utcoffset(d):
idx = d.index('.')
d = d[:dot_idx]
d += '+00:00'
return d
it cuts off time from datetime.datetime.today().isoformat() and adds an artificial '+00:00' ending for UTC offset. This should probably be handled by looking up user's time preferences.
Currently for formatting UTC offset, the following is used:
it cuts off time from
datetime.datetime.today().isoformat()
and adds an artificial '+00:00' ending for UTC offset. This should probably be handled by looking up user's time preferences.