The Wayback Machine - https://web.archive.org/web/20240727110446/https://github.com/arrow-py/arrow/issues/355
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify start date in span('week') #355

Closed
mehtadev17 opened this issue Aug 31, 2016 · 6 comments · Fixed by #934
Closed

Specify start date in span('week') #355

mehtadev17 opened this issue Aug 31, 2016 · 6 comments · Fixed by #934

Comments

@mehtadev17
Copy link

mehtadev17 commented Aug 31, 2016

arrow.utcnow().span('week') starts on Monday and ends on Sunday. I would like an option to start the week on Sunday and end on Saturday.

@byin0317
Copy link

I am interested in working on this issue, will look further into by next week or so

@systemcatch
Copy link
Collaborator

@oakt
Copy link

oakt commented Jun 11, 2020

Can we work on this?

@jadchaar
Copy link
Member

Hey @oakt, if you’d like to contribute this change, PRs are welcome :).

@jadchaar jadchaar changed the title span('week') option to start week on Sunday instead of Monday Specify start date in span('week') Aug 22, 2020
@jadchaar
Copy link
Member

It would be nice to allow users to specify any start date, not just Sunday.

@yiransii
Copy link
Contributor

yiransii commented Dec 3, 2020

@jadchaar
I can work on it!

@jadchaar jadchaar added this to To do in Release 1.1.0 Mar 15, 2021
@jadchaar jadchaar moved this from To do to Done in Release 1.1.0 Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
6 participants