def formatted_time(self):
        """ Returns the current time as formatted string, e.g. 12:34 """
        total_minutes = int(self._time * 24 * 60)
        return "{:02d}:{:02d}".format(total_minutes // 60, total_minutes % 60)
 Returns the current time as formatted string, e.g. 12:34 
metadrive/render_pipeline/rpcore/pluginbase/day_manager.py