MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / local_utc_offset_minutes

Function local_utc_offset_minutes

atomic-cli/src/commands/git/shadow.rs:1751–1753  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1749}
1750
1751fn local_utc_offset_minutes() -> i32 {
1752 chrono::Local::now().offset().local_minus_utc() / 60
1753}
1754
1755fn to_git2_oid(oid: &atomic_core::operation::GitObjectId) -> CliResult<git2::Oid> {
1756 use atomic_core::operation::GitHashAlgorithm;

Callers 1

build_switch_projectionFunction · 0.85

Calls 1

offsetMethod · 0.45

Tested by

no test coverage detected