aboutsummaryrefslogblamecommitdiffstats
path: root/library/moment/src/lib/locale/ordinal.js
blob: 0028aca024e7e1b75a0e466d8b50c2ec6020c3df (plain) (tree)
1
2
3
4
5
6
7






                                               
export var defaultOrdinal = '%d';
export var defaultOrdinalParse = /\d{1,2}/;

export function ordinal (number) {
    return this._ordinal.replace('%d', number);
}