You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order of weekdays seems to be hard coded, where the week always starts on Sunday. Would it be possible to change this in order to support locales where the week starts on Monday?
I guess one way to achieve this could be by adding 1 to the index (in case the week starts on Monday) and doing a modulus by 7 afterwards.
It would be great if this could be implemented.
The text was updated successfully, but these errors were encountered:
Good point. The first day should definitely be retrieved from NSLocale. However I don’t have time recently, if you made any changes, please pull request :)
xhacker
changed the title
Distribution Chart: Using locale for weekdays
Contribution Graph: Using locale for weekdays
May 31, 2016
The order of weekdays seems to be hard coded, where the week always starts on Sunday. Would it be possible to change this in order to support locales where the week starts on Monday?
I guess one way to achieve this could be by adding 1 to the index (in case the week starts on Monday) and doing a modulus by 7 afterwards.
It would be great if this could be implemented.
The text was updated successfully, but these errors were encountered: