Function git_features::time::tz::current_utc_offset[][src]

pub fn current_utc_offset() -> Result<UTCOffsetInSeconds, Error>
Expand description

Return time offset in seconds from UTC based on the current timezone.

Note that there may be various legitimate reasons for failure, which should be accounted for.