Skip to content

Commit

Permalink
Removed misleading/incorrect docs.
Browse files Browse the repository at this point in the history
We need correct...leading docs here, though.
  • Loading branch information
dustin committed Jul 21, 2016
1 parent 3143592 commit 2fcb520
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions times.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ func RelTime(a, b time.Time, albl, blbl string) string {
// In addition to the generic time delta string (e.g. 5 minutes), the
// labels are used applied so that the label corresponding to the
// smaller time is applied.
//
// RelTime(timeInPast, timeInFuture, "earlier", "later") -> "3 weeks earlier"
func CustomRelTime(a, b time.Time, albl, blbl string, magnitudes []RelTimeMagnitude) string {
lbl := albl
diff := b.Sub(a)
Expand Down

0 comments on commit 2fcb520

Please sign in to comment.