exercism / coffeescript

Exercism exercises in CoffeeScript.
https://exercism.org/tracks/coffeescript
MIT License
19 stars 49 forks source link

meetup exercise: off-by-one error #345

Closed glennj closed 1 week ago

glennj commented 1 week ago

For Date.UTC, the month value is a month index. I was not decrementing by one.

Also, changed Date.UTC to new Date to avoid any timezone related issues.

attn: @BNAndras

github-actions[bot] commented 1 week ago

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

glennj commented 1 week ago

This is a change to the spec, so existing solutions should be re-tested: "yes important files changed"