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

converters / datetime - fix object check #7

Merged
merged 1 commit into from Apr 17, 2024

Conversation

swhite2
Copy link
Member

@swhite2 swhite2 commented Apr 17, 2024

Object.is() checks equality between two parameters, not whether the variable is an object, better to use the built-in moment method for this.

Object.is() checks equality between two parameters, not whether the variable is an object, better to use the built-in moment method for this.
@AdSchellevis AdSchellevis self-assigned this Apr 17, 2024
@AdSchellevis AdSchellevis merged commit 96d071b into opnsense:master Apr 17, 2024
AdSchellevis added a commit that referenced this pull request Apr 17, 2024
AdSchellevis added a commit to opnsense/core that referenced this pull request Apr 17, 2024
fichtner pushed a commit to opnsense/core that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants