Skip to main content

git_tz_offset_seconds

Function git_tz_offset_seconds 

Source
pub fn git_tz_offset_seconds(minutes_east: i16, negative_utc: bool) -> i32
Expand description

Convert a parsed Git timezone (minutes east of UTC plus whether the token was -0000) to the seconds-east value stored on a State, keeping the -0000 sign as TZ_OFFSET_NEGATIVE_UTC.