Angular-calendar: How to set that week starts from monday, instead of sunday .

Created on 2 Jan 2017  路  3Comments  路  Source: mattlewis92/angular-calendar

Hi,

I was trying out this cool calendar and needed some functionality with is, with the original bootstrap calendar, I could set the starting day of week as monday, how can I do that here ?

In the original plugin it is available as

var defaults_extended = {
        first_day: 2
}

in calendar.js file, setting it to 1 will start week from Monday, how can I perform same here ?
Please help.

Thanks

Most helpful comment

Hi,

you can add weekStartsOn="1" on the component.

All 3 comments

Hi,

you can add weekStartsOn="1" on the component.

on view [weekStartsOn]="1"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PrasannaKolla picture PrasannaKolla  路  4Comments

fmoessle picture fmoessle  路  5Comments

IterationCorp picture IterationCorp  路  5Comments

teodoramalec picture teodoramalec  路  4Comments

nguyendo picture nguyendo  路  3Comments