ion-datetime-picker-calendar-iso-saturday

1.0.0-beta.1 • Public • Published

ion-datetime-picker-calendar-iso-saturday

GitHub version npm version Bower version Ionic version License

ISO calendar with week starting on Saturday - for ion-datetime-picker

Installation

  1. Use bower or npm to install this module:

    bower install ion-datetime-picker-calendar-iso-saturday --save
    npm install ion-datetime-picker ion-datetime-picker-calendar-iso-saturday --save
  2. Import the javascript file into your HTML file (or use webpack):

    <script src="lib/ion-datetime-picker-calendar-iso-saturday/dist/index.js"></script>

Usage

Use iso-saturday as a value of calendar attribute when you define your picker.

<ion-datetime-picker calendar="iso-saturday" ...></ion-datetime-picker>

See ion-datetime-picker README for more info.

Internationalization

Inject $ionDtpCalendarIsoSaturday service into your code and set your localized strings. English ones are used as default.

weekDays key

Array of weekdays abbreviations, starting from Saturday.

months key

Array of months names, starting from January.

angular.module("myApp")
  .run(function($ionDtpCalendarIsoSaturday) {
    $ionicPickerI18n.weekDays = ["Sá", "Нд", "Lu", "Út", "Mi", "To", "금"];
    $ionicPickerI18n.months = ["Janvier", "Febrero", "März", "四月", "Maio", "Kesäkuu", "Červenec", "अगस्त", "Вересень", "Październik", "Νοέμβριος", "డిసెంబర్"];
  });

Readme

Keywords

none

Package Sidebar

Install

npm i ion-datetime-picker-calendar-iso-saturday

Weekly Downloads

0

Version

1.0.0-beta.1

License

MIT

Last publish

Collaborators

  • katemihalikova