-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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: luxon toISODate, toISO and toSQLDate method could return null when an InvalidDate is provided #64919
Conversation
@edoardomistretta Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. You can test the changes of this PR in the Playground. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. InactiveThis PR has been inactive for 31 days — it is considered abandoned, and therefore closed! Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 64919,
"author": "edoardomistretta",
"headCommitOid": "fa8c6811f1224985be8c1e01fd3760b349170c1c",
"mergeBaseOid": "835c3caaf83b5d72e29dfd60e9413c612dc16e2c",
"lastPushDate": "2023-03-28T08:43:45.000Z",
"lastActivityDate": "2023-04-03T20:20:34.000Z",
"maintainerBlessed": "Waiting for Code Reviews",
"hasMergeConflict": true,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "luxon",
"kind": "edit",
"files": [
{
"path": "types/luxon/src/datetime.d.ts",
"kind": "definition"
},
{
"path": "types/luxon/test/luxon-tests.module.ts",
"kind": "test"
}
],
"owners": [
"FourwingsY",
"jsiebern",
"mastermatt",
"pietrovismara",
"dawnmist",
"ycmjason",
"Aitor1995",
"peterblazejewicz",
"carsonf",
"hugofpsilva",
"martin-badin"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "changereq",
"reviewer": "CarsonF",
"date": "2023-04-03T20:20:34.000Z"
}
],
"mainBotCommentID": 1489847634,
"ciResult": "pass"
} |
🔔 @FourwingsY @jsiebern @mastermatt @pietrovismara @dawnmist @ycmjason @Aitor1995 @peterblazejewicz @CarsonF @hugofpsilva @martin-badin — please review this PR in the next few days. Be sure to explicitly select |
Hi @CarsonF, this a breaking change but IMHO this is necessary. At the moment developers are forced to know the internals of the method Developers are guided by types and interfaces instead of actual implementation so please consider this PR |
I hear you that there's a mismatch here. Let me see if I can address this in an elegant way. I can tell you though that this PR and your PR to luxon proper are not going to be merged. |
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.
Superceded by #64995
@edoardomistretta One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you! |
@edoardomistretta Unfortunately, this pull request currently has a merge conflict 😥. Please update your PR branch to be up-to-date with respect to master. Have a nice day! |
@edoardomistretta I haven't seen any activity on this PR in more than three weeks, and it still has problems that prevent it from being merged. The PR will be closed on May 3rd (in a week) if the issues aren't addressed. |
@edoardomistretta To keep things tidy, we have to close PRs that aren't mergeable and don't have activity in the last month. No worries, though — please open a new PR if you'd like to continue with this change. Thank you! |
Please fill in this template.
npm test luxon
.Select one of these and delete the others:
If changing an existing definition: