コード例 #1
0
ファイル: base.py プロジェクト: CGTIC/Plone_SP
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)
コード例 #2
0
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)
コード例 #3
0
ファイル: patch.py プロジェクト: upiq/uu.eventintegration
def new_ulocalized_time(time, *args, **kwargs):
    wrapped_time = PatchedDateTime(time)
    return orig_ulocalized_time(wrapped_time, *args, **kwargs)