Skip to content

converters / datetime - fix object check#7

Merged
AdSchellevis merged 1 commit intoopnsense:masterfrom
swhite2:patch-1
Apr 17, 2024
Merged

converters / datetime - fix object check#7
AdSchellevis merged 1 commit intoopnsense:masterfrom
swhite2:patch-1

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

Development

Successfully merging this pull request may close these issues.

2 participants

Comments