Nationwide Polyamorous Matrimony
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    ot-localised-dayspublic

    ot-localised-days

    Build Status NPM version Dependencies

    Localised day-of-week abbreviations (e.g. Mon, Tue, Wed ...)

    installation:

    npm install ot-localised-days
    

    usage:

    var days = require('ot-localised-days');
    
    for(var i=0; i<7; i++){
      console.log(days.getDayOfWeekLocalisedText('de', i));
    }
    // "So"
    // "Mo"
    // "Di"
    // "Mi"
    // "Do"
    // "Fr"
    // "Sa"
    
    

    .getDayOfWeekLocalisedText(langauge, dayOfWeek)

    • language: language code (en|de|fr|es|ja)
    • dayOfWeek: int representing day of week, Sunday = 0 -> Friday = 6

    Supported languages:

    • en
    • de
    • fr
    • es
    • ja

    Running tests

    npm install
    npm test
    

    Keywords

    install

    npm i ot-localised-days

    Downloadsweekly downloads

    2

    version

    0.1.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar