Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions commands/user/user_show.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func runUserShow(env *execenv.Env, opts userShowOptions, args []string) error {
env.Out.Printf("%s\n", id.Id())
case "lastModification":
env.Out.Printf("%s\n", id.LastModification().
Time().Format("Mon Jan 2 15:04:05 2006 +0200"))
Time().Format("Mon Jan 2 15:04:05 2006 -0700"))
case "lastModificationLamport":
for name, t := range id.LastModificationLamports() {
env.Out.Printf("%s\n%d\n", name, t)
Expand All @@ -92,7 +92,7 @@ func runUserShow(env *execenv.Env, opts userShowOptions, args []string) error {
env.Out.Printf("Name: %s\n", id.Name())
env.Out.Printf("Email: %s\n", id.Email())
env.Out.Printf("Login: %s\n", id.Login())
env.Out.Printf("Last modification: %s\n", id.LastModification().Time().Format("Mon Jan 2 15:04:05 2006 +0200"))
env.Out.Printf("Last modification: %s\n", id.LastModification().Time().Format("Mon Jan 2 15:04:05 2006 -0700"))
env.Out.Printf("Last moditication (lamport):\n")
for name, t := range id.LastModificationLamports() {
env.Out.Printf("\t%s: %d", name, t)
Expand Down
2 changes: 1 addition & 1 deletion entities/bug/comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (c Comment) FormatTimeRel() string {
}

func (c Comment) FormatTime() string {
return c.unixTime.Time().Format("Mon Jan 2 15:04:05 2006 +0200")
return c.unixTime.Time().Format("Mon Jan 2 15:04:05 2006 -0700")
}

// IsAuthored is a sign post method for gqlgen
Expand Down