Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updating readme

  • Loading branch information...
commit 2db733df30567befdc739ae09781af86ffa620ee 1 parent dc3e5d9
Tai-Jin Lee authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.md
3  README.md
View
@@ -34,7 +34,8 @@ Format a number to have decimal significant decimal places, using decPoint as th
####humanize.naturalDay(timestamp [, format = 'Y-m-d'])####
Returns 'today', 'tomorrow' or 'yesterday', as appropriate, otherwise format the date using the passed format with humanize.date()
-####humanize.naturalTime####
+####humanize.relativeTime(timestamp)####
+Returns a relative time to the current time, seconds as the most granular up to years to the least granular.
####humanize.ordinal(integer)####
Converts a number into its [ordinal representation](http://en.wikipedia.org/wiki/Ordinal_number_\(linguistics\)).
Please sign in to comment.
Something went wrong with that request. Please try again.