def _ephem_to_timezone(date, tzinfo):<EOL>
seconds, microseconds = _ephem_convert_to_seconds_and_microseconds(date)<EOL>date = dt.datetime.fromtimestamp(seconds, tzinfo)<EOL>date = date.replace(microsecond=microseconds)<EOL>return date<EOL>
Convert a PyEphem Date into a timezone aware python datetime