#NEWLINE# def _get_current_tzinfo( ) : #NEWLINE# #INDENT# if time . daylight : #NEWLINE# #INDENT# tz_sec = time . altzone #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# tz_sec = time . daylight #NEWLINE# #UNINDENT# tz_min = ( ( abs ( tz_sec ) / 60 ) % 60 ) #NEWLINE# tz_hour = ( abs ( tz_sec ) / 3600 ) #NEWLINE# if ( tz_sec > 0 ) : #NEWLINE# #INDENT# tz_hour *= ( - 1 ) #NEWLINE# #UNINDENT# tz_str = ( '%+02d%02d' % ( tz_hour , tz_min ) ) #NEWLINE# return GitTimezone ( tz_min )