-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: update months total days data #80
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I checked 2082 data with NepaliPatro.
A question about whether our versioning is semantic. Looks like we're marking this as a patch release. I don't know. Is this a patch, or is this a breaking change or a backwards incompatible change?
@sumanchapai, I consider this as a bug, thus making it as a patch release. I dont think the user using this package will have a breaking change. If you have any suggestion, let us know. :-) |
I see. I think a patch release is good. But it seems to me like a case can be made that it's a breaking change as well. If someone using this package as a library in their project was relying on a particular month that got updated having certain number of days, this release could break their code. Imagine a program (slightly impractical) that asks the user to guess the number of days in Baisakh 2082, if they guessed incorrectly it runs rm -rf on their computer. Before the update, 30 was the correct number to guess. They make a seemingly harmless update (since it's a patch, not a breaking change). Now they guess 30 again and they're dead. Lol. |
@sumanchapai Nice one. But is it okay to bump major version on every date correction. I'm still not sure that the future data is correct. Might have to bump major versions in those cases. |
I agree. Patch release is good. Major version release in every correction seems impractical. |
Description
Discussion: Inconsistent months data for date conversion node-nepali-datetime#82
Related Issue
N/A
Type of Change
Please mark the appropriate option below to describe the type of change your pull request introduces:
Checklist
README.md
.CHANGELOG.md
for the significant changes.Additional Notes
[Add any additional notes or context that you think the reviewers should know about.]
By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.