If you do find the size of MomentJS to be troublesome for your particular usecase, and are in need of handling timezones, Luxon is a great alternative. It's from the authors of Moment, and I believe it uses the built-in i18n APIs found within modern browsers to handle timezones.
Re:You Don't Need MomentJS
by networkimprov on Tuesday July 23, 2019 @02:21PM
(#20508945)
+1 for Luxon.
date-fns v2 supports timezones with the date-fns-timezone package https://www.npmjs.com/package/date-fns-timezone. Works well for me so far.
This is great news! Thanks for sharing. We've been pulling in moment-tz where needed but using date-fns in projects where timezones weren't needed.
Looks like I still need MomentJS