Message232119
val=datetime.datetime.strptime("2015-02-01",'%Y-%m-%d').date()
zon=pytz.timezone('US/Pacific')
dt=datetime.datetime(val.year,val.month,val.day, tzinfo=zon)
print dt,zon
output:
2015-02-01 00:00:00-07:53 US/Pacific
output should be
2015-02-01 00:00:00-08:00 US/Pacific |
|
Date |
User |
Action |
Args |
2014-12-04 10:30:01 | santhoshch | set | recipients:
+ santhoshch |
2014-12-04 10:30:01 | santhoshch | set | messageid: <1417689001.58.0.198336603717.issue22994@psf.upfronthosting.co.za> |
2014-12-04 10:30:01 | santhoshch | link | issue22994 messages |
2014-12-04 10:30:01 | santhoshch | create | |
|