git_commit_time_offset

Get the commit timezone offset (i.e. committer's preferred timezone) of a commit.

extern (C) nothrow @nogc
int
git_commit_time_offset

Parameters

commit const(libgit2_d.types.git_commit)*

a previously loaded commit.

Return Value

Type: int

positive or negative timezone offset, in minutes from UTC

Meta