Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@emagnier
Copy link
Collaborator

During lent, weeks was starting on Wednesday instead of Sunday.

This fix remove the first 4 days of lent (Ash Wednesday to Saturday) when computing the week number.

@emagnier
Copy link
Collaborator Author

The travis build is failing because it use an old version of Node that don't recognise the latest es6 features.

@pejulian, what do you think about updating the .travis.yml with a node version >= 6 ?

@pejulian pejulian merged commit 2746f1d into romcal:master Apr 27, 2017
@pejulian
Copy link
Collaborator

Hi @emagnier, I've checked the code and saw the problem mentioned. The weeks were being incremented incorrectly. I've merged your fix and updated travis.yml to include later node versions. Thank you.

@emagnier emagnier deleted the lentweeks branch November 17, 2019 21:47
emagnier pushed a commit to emagnier/romcal that referenced this pull request Aug 13, 2020
Compute correctly the week numbers in Lent
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.

2 participants