def ulocalized_time(time, *args, **kwargs): """Corrects for DateTime bugs doing wrong thing with timezones""" wrapped_time = PatchedDateTime(time) return orig_ulocalized_time(wrapped_time, *args, **kwargs)
def ulocalized_time(time, *args, **kwargs): """Corrects for DateTime bugs doing wrong thing with timezones""" wrapped_time = PatchedDateTime(time) return orig_ulocalized_time(wrapped_time, *args, **kwargs)
def new_ulocalized_time(time, *args, **kwargs): wrapped_time = PatchedDateTime(time) return orig_ulocalized_time(wrapped_time, *args, **kwargs)