Skip to content

Commit

Permalink
Add eslint ignore to Date prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
erenken committed Apr 5, 2023
1 parent 2594d91 commit 760c407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rw-app/src/utilities/DateExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ declare global {
}
}

// eslint-disable-next-line
Date.prototype.toDisplayFormat = function () {
return new Date(this).toLocaleString('en-us', {
year: 'numeric',
Expand Down

0 comments on commit 760c407

Please sign in to comment.