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

Clarify the isDateTime docs #1146

Merged
merged 1 commit into from
Mar 5, 2022
Merged

Conversation

DingoEatingFuzz
Copy link
Contributor

Since the argument is an object, and DateTime is a generic term in addition to a Luxon type, I misinterpreted this to mean it would also validate strings and numbers. Maybe other people have been confused similarly.

Since the argument is an object, and `DateTime` is a generic term in addition to a Luxon type, I misinterpreted this to mean it would also validate strings and numbers. Maybe other people have been confused similarly.
@linux-foundation-easycla
Copy link

CLA Not Signed

@icambron icambron merged commit 16d1b90 into moment:master Mar 5, 2022
himanshiLt pushed a commit to himanshiLt/luxon that referenced this pull request Apr 25, 2022
Since the argument is an object, and `DateTime` is a generic term in addition to a Luxon type, I misinterpreted this to mean it would also validate strings and numbers. Maybe other people have been confused similarly.
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