Skip to content

Commit

Permalink
removed the unnecessary condition: #278 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiK committed May 27, 2014
1 parent bcdd481 commit cd3e204
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ public string Humanize(DateTime input, DateTime comparisonBase)
if (ts.TotalSeconds < 120)
return Configurator.Formatter.DateHumanize(TimeUnit.Minute, tense, 1);

if (ts.TotalMinutes < 45)
return Configurator.Formatter.DateHumanize(TimeUnit.Minute, tense, ts.Minutes);

if (ts.TotalMinutes < 60)
return Configurator.Formatter.DateHumanize(TimeUnit.Minute, tense, ts.Minutes);

Expand Down

0 comments on commit cd3e204

Please sign in to comment.