Skip to content

Instantly share code, notes, and snippets.

View martin-lukac's full-sized avatar

Martin Lukac martin-lukac

View GitHub Profile
@martin-lukac
martin-lukac / intz_issue.py
Created June 15, 2012 06:37
India Timezone pytz possible issue
#!/usr/bin/python
import pytz
from datetime import datetime
intz = pytz.timezone('Asia/Kolkata')
nowdt = datetime.now(intz)
todaydt = datetime(2012,6,15,tzinfo=intz)