Re:Falsehoods programmers believe about time and time zones
by ShellfishMeme on Monday April 18, 2016 @02:18AM
(#11517999)
MomentJS is great and offers pretty much everything you need time manipulation wise. That being said, I've spent many hours debugging problems with moment because many operations mutate the 'moment' instance that you're working with.
If you generate some moments and need to reuse them for multiple calculations, you need to constantly clone them.
I wish there was a moment-like library with good performance that's immutable.
[ Parent
| on HN ]
There are no comments on this comment yet.