Definitely agree on that.
I made something similar in the past. I used the JS Date object as a dependency, wrapped in a service which was the only point able to handle directly the Date object.
Also consider that there are a lot of libraries to handle JS and this approach lets you change to one of those pretty easily if you want to.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Definitely agree on that.
I made something similar in the past. I used the JS Date object as a dependency, wrapped in a service which was the only point able to handle directly the Date object.
Also consider that there are a lot of libraries to handle JS and this approach lets you change to one of those pretty easily if you want to.