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

replace ~date with ~day for Date.make* #7324

Merged
merged 1 commit into from
Mar 7, 2025
Merged

replace ~date with ~day for Date.make* #7324

merged 1 commit into from
Mar 7, 2025

Conversation

tsnobip
Copy link
Contributor

@tsnobip tsnobip commented Mar 7, 2025

Using ~date is ambiguous and MDN references dayanyway.

@tsnobip tsnobip requested a review from cknitt March 7, 2025 11:59
Copy link
Member

@cknitt cknitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, let's use ~day! Thanks!

@@ -9,6 +9,7 @@
}
},
"../../..": {
"name": "rescript",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've seen this changing back and forth, maybe depending on npm version or something. Best not include these changes in the PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I can remove it, I think latest node versions add it, so I thought we might as well commit and stop seeing this change once for all, but it might be not as consistant as I thought.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A single one is still left now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad -_-

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cknitt fixed!

@tsnobip tsnobip requested a review from cknitt March 7, 2025 14:57
@tsnobip tsnobip merged commit 40c51a5 into master Mar 7, 2025
20 checks passed
@cknitt cknitt deleted the fix-date-make branch March 8, 2025 16:38
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