Sha256: 6c42d1c030819fa2b77303439dff7d440e4ff3180d284afc0a1afdf7c2fedc00
Contents?: true
Size: 444 Bytes
Versions: 27
Compression:
Stored size: 444 Bytes
Contents
import './prototype'; import { getSetGlobalLocale } from './locales'; import toInt from '../utils/to-int'; getSetGlobalLocale('en', { ordinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal : function (number) { var b = number % 10, output = (toInt(number % 100 / 10) === 1) ? 'th' : (b === 1) ? 'st' : (b === 2) ? 'nd' : (b === 3) ? 'rd' : 'th'; return number + output; } });
Version data entries
27 entries across 27 versions & 6 rubygems