Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Instadate – A minimal high performance JavaScript date library (github.com/teamweek)
7 points by zongitsrinzler on Jan 31, 2016 | hide | past | favorite | 3 comments


I also have a micro-library[1] that deals with dates, and it's also much faster than momentjs[2].

1. https://github.com/montanaflynn/human-date

2. http://jsperf.com/human-date-vs-momentjs


It would help others use the library if the assumptions that affect correctness were explicit. The danger of "good enough" is when it isn't and without knowledge, there are latent bugs in other people's code.

Dates are hard because of the corner cases. Let people know which ones it doesn't handle.


Hey, it works well and tries to handle all cases I know of. It simply has a smaller feature set.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: