in Ox.formatOrdinal, add thousand separators
This commit is contained in:
parent
f473b68ff4
commit
6d5b254a94
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ Ox.formatOrdinal <f> Formats a number as an ordinal
|
|||
"13th"
|
||||
@*/
|
||||
Ox.formatOrdinal = function(number) {
|
||||
var string = number.toString(),
|
||||
var string = Ox.formatNumber(number),
|
||||
length = string.length,
|
||||
last = string[length - 1],
|
||||
ten = length > 1 && string[length - 2] == '1';
|
||||
|
|
Loading…
Reference in a new issue