Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Conversation

@klaidliadon
Copy link
Contributor

Adding timezone infos to commits

objects.go Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer use the Parse function of time:

package main

import (
    "fmt"
    "time"
)

func main() {

    now := time.Now()

    tz, err := time.Parse("-0700", "-1200")
    fmt.Println(tz.Location(), err)

    fmt.Println(now.In(tz.Location()))

}

mcuadros added a commit that referenced this pull request Nov 23, 2015
@mcuadros mcuadros merged commit 1307532 into src-d:v2.0.0 Nov 23, 2015
mcuadros added a commit that referenced this pull request Jan 31, 2017
gsalingu-ovhus pushed a commit to gsalingu-ovhus/go-git that referenced this pull request Mar 28, 2019
Fix test + Quiet argument in client
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants