def make_naive(dt):
tt = dt.utctimetuple()<EOL>ts = calendar.timegm(tt)<EOL>local_tt = time.localtime(ts)<EOL>return datetime.datetime(*local_tt[:<NUM_LIT:6>])<EOL>
Makes an aware datetime.datetime naive in local time zone.