Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderIf you are dealing with timestamps from the past (e.g. birthdays via a datepicker that constructs Date objects), then you should watch out for different browsers' inconsistent handling of Daylight Savings Time. Moment is really indispensable here, since it includes a database of past years' DST transition dates. I wrote a blog post about it here: https://illuminatedcomputing.com/posts/2017/11/javascript-ti...
JS has been moving forward with a new Date/Time API called Temporal[1]. I haven't had a chance to use it myself, but a friend dropped Moment.js for it (I think to keep the browser from adjusting the date to the local time). New APIs (and hence, Temporal) are the type of things that if you don't know about, you can easily miss and go straight to a library for. [1]: https://2ality.com/2021/06/temporal-api.html
It’s almost always better to use a standard than grow something at home. When your project gets bigger (which most projects of interest will), the inertia of the homegrown solution will become a detriment and liability. Only simple or novel use cases should be kept as internal libraries, and dates are not simple.
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 407
- Total comments
- 214
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2018-09-12 | You don't really need moment.js | stevemao | 3 | 0 |
| 2018-09-12 | You don't really need moment.js | stevemao | 4 | 0 |
| 2018-09-14 | You Don't Need Moment.jsFirst breakout · Best thread | ggregoire | 241 | 85 |
| 2020-02-05 | You don't (may not) need Moment.js | thunderbong | 8 | 0 |
| 2020-02-27 | You May Not Need Moment.js | fagnerbrack | 2 | 1 |
| 2021-09-18 | You may not need Moment.jsHall induction · Latest 20+ point return | thunderbong | 149 | 128 |
