mominsamir / smDateTimeRangePicker

Angular Material Date Picker, DateTime Picker, Date Range Picker, Date Time range picker
http://mominsamir.github.io/smDateTimeRangePicker/
MIT License
130 stars 50 forks source link

week-start-date does not work #150

Closed tugrulelmas closed 7 years ago

tugrulelmas commented 7 years ago

Hello, week-start-date does not work with different locales. I could not set Monday as first day of week with locale "tr". None of them week-start-day="Monday" and week-start-day="Pazartesi" work.

oleg-demkovych commented 7 years ago

I have it too.

oscar09 commented 7 years ago

Is this error in the date range field? It works fine for me with date field. Also, I don't think the property supports locales. You need to provide the day in English.

oscar09 commented 7 years ago

This error should be fixed in the latest master version. I only found the error on the date range field.

oleg-demkovych commented 7 years ago

Week start day still not working in v2.0.11. http://take.ms/y5gmB

week-start-day="Monday"

oscar09 commented 7 years ago

The fix was not included in v2.0.11. It is in master version only. It will be available until next tag.