Handling browser-local datetimes in the present moment
Date only handles two types of datetime objects:
- browser-local datetimes (i.e., datetimes in the timezone that the browser detects the user is in)
- UTC datetimes
Date does not provide the required functionality, and Moment.js must be used instead.
Date provides exactly what is neededa: a browser-local "now."
a. Assuming, of course, that the user does not do something pathologically silly, like manually configure their computer to a different timezone that their geographically current timezone. ↩