shoheiyokoyama / Koyomi

Simple customizable calendar component in Swift :calendar:
MIT License
749 stars 103 forks source link

Changed first day of week...but doesn´t work #49

Open AnD010 opened 6 years ago

AnD010 commented 6 years ago

Hi!, I will try to change first day to week, but something is wrong. For example, today in Europe is Sunday 11 February, but for me... first day of week is Monday, don´t Sunday. I did

            koyomi.weeks = ("Lun", "Mar", "Mie", "Jue", "Vie", "Sab", "Dom")
            koyomi.weeks.0 = "Lun"
            koyomi.weeks.1 = "Mar"
            koyomi.weeks.2 = "Mie"
            koyomi.weeks.3 = "Jue"
            koyomi.weeks.4 = "Vie"
            koyomi.weeks.5 = "Sab"
            koyomi.weeks.6 = "Dom"

But now.. is Monday 11 February in my calendar...this is wrong...today is Sunday 11 February... I can do something for change day of week and re-order days??? Thanks

fastma commented 6 years ago

Same issue here, how did you solve it @AnD010 ?