News for hackers. Stuff that matters.
Re:Temporal: Getting started with JavaScript's new date time... by profmonocle on Monday June 28, 2021 @04:35PM (#27667700)
Another fun one:

    > new Date().getYear()
    121
Of course this is avoided by using getFullYear(), but I've always wondered why a language that came out in 1995 had a function that returned two-digit years.
Re:Temporal: Getting started with JavaScript's new date time... by dbbk on Wednesday June 30, 2021 @09:25AM (#27688213)
That is absolutely baffling, I cannot think why that was ever implemented