Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
slayer authored Jun 13, 2017
1 parent 3c2f8d4 commit 21cac6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion date.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func dateAgo(date interface{}) string {
case int:
t = time.Unix(int64(date), 0)
}
// Drop resultion to seconds
// Drop resolution to seconds
duration := time.Since(t) / time.Second * time.Second
return duration.String()
}

0 comments on commit 21cac6d

Please sign in to comment.