这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@tanihiro
Copy link

@tanihiro tanihiro commented Oct 25, 2016

Fixes #894

The current can set 0(Sunday) or 1(Monday) to first day options. But I want set 2(Tuesday).
So it was modified that it can be set to 0 to 6 options of first day.

@tanihiro tanihiro changed the title Set all day of the week as firstDay Can set all day of the week on the first day Oct 25, 2016
@DanielRuf
Copy link
Contributor

Why should be Tuesday the first day of the week?

@DanielRuf
Copy link
Contributor

Please describe some actual use cases dor this change.

@Takazudo
Copy link

In the project I'm working on, the system needed to define Tuesday as the first of the week. In the system, machines that are organized by the system treat Tuesday as the first of the week. So I needed that feature.

@DanielRuf
Copy link
Contributor

This makes no sense to add it to the internal code as we have just 3 different variants in the world:
http://chartsbin.com/view/41671
Saturday, Sunday, Monday

@DanielRuf
Copy link
Contributor

This would also break the current behavior.

@DanielRuf DanielRuf self-requested a review March 31, 2018 21:16
Copy link
Contributor

@DanielRuf DanielRuf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also breaks old setups. We need a better solution here.

Copy link
Contributor

@DanielRuf DanielRuf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also breaks old setups. We need a better solution here.

@amsul
Copy link
Owner

amsul commented Apr 3, 2019

Not a problem in v5 :)

Closing this as most people don't need to set it to Tuesday

@amsul amsul closed this Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants