twinssbc / Ionic-Calendar

A calendar directive for Ionic framework
http://twinssbc.github.io/Ionic-Calendar/demo
MIT License
159 stars 73 forks source link

Starting day week fix #8

Closed Manduro closed 8 years ago

Manduro commented 8 years ago

There was a bug in my startingDayWeek implementation: if the option was set to 1, events for the last day of the week were filtered out. If set to 2, the last two days, etc.

Ak2Ps commented 8 years ago

Dear twin,

The europian issue of the iso-week-standard is: In the headers you see: mon/tue/wed/thu/fri/sat/sun in stead of the amirican standard: sun/mon/tue/wed/thu/fri/sat

If I want to use your control, this issue must be solved. Btw: I also need to nationalize the names of the the months/days

Kind regards: Antoon.Kragten@Gmail.com

twinssbc commented 8 years ago

@Ak2Ps I have fixed the startingDayMonth issue in 0.1.6. Feel free to have a test. Now I only expose the datefilter configuration so that you can change the date format of the header (formatDayHeader) and the day (formatDay). Does that meet your internationalisation need?

Ak2Ps commented 8 years ago

Thank you for responding so quickly. I used your calendar as an example for making my own europian one. Other aspects of this calendar are so company-specific that I cannot publish this one. Nevertheless, thanks very much and success.

Antoon.Kragten@Gmail.com