| 31 May 2024 |
| Pyrox [It/She/They] changed their display name from Pyrox [It/She/They] to Pyrox [Fox/It/She/They]. | 18:30:00 |
| Pyrox [It/She/They] changed their display name from Pyrox [Fox/It/She/They] to Pyrox [It/She/They]. | 18:30:08 |
Lily Foster | so although the 30 days thing causes surprising behavior elsewhere, this exact behavior is caused by this JavaScript special:
[I] lily@bina ~> , node
Welcome to Node.js v22.2.0.
Type ".help" for more information.
> let date = new Date()
undefined
> date
2024-05-31T18:32:29.029Z
> date.getMonth()
4
> date.setMonth(3)
1714588349029
> date.getMonth()
4
> date
2024-05-01T18:32:29.029Z
>
notably, GitHub's library throws out that intermediate date and just uses the getMonth diff (which is 0, despite the setMonth call). and since the month diff is 0 and technically the getDate diff is more than 27, it just sets everything to zero
| 18:35:33 |
Lily Foster | so this occurs specifically on days where the current day of the month is not a valid date in the previous month. and this is why something two months ago might say one month as well. or three months ago say two months | 18:37:37 |
Lily Foster | i think the funniest thing in this though | 18:42:14 |
Lily Foster | is that they have test cases | 18:42:18 |
Lily Foster | for some of this sus behavior | 18:43:39 |
| a-kenji joined the room. | 19:07:04 |
jade_ | niko ⚡️: you can submit https://gerrit.lix.systems/c/lix/+/1157/3 | 20:23:57 |
Lily Foster | i've fixed this JS code, against my better judgement.......... https://github.com/github/relative-time-element/pull/285 | 21:07:06 |
Lily Foster | i'm going to go not touch a computer for the rest of the evening now, and maybe rest of the weekend 🫠 | 21:07:24 |
Lily Foster | that hurt my soul | 21:07:27 |
jade_ | gods | 21:08:12 |
jade_ | i am so sorry, that's incredibly cursed code | 21:08:18 |
Lily Foster | In reply to @jade_:matrix.org i am so sorry, that's incredibly cursed code it's okay, i'm sorry too | 21:09:22 |
delroth |  Download image.png | 21:16:15 |
delroth | a team | 21:16:17 |
Lily Foster | In reply to @delroth:delroth.net a team it always says that for team mentions for organizations you aren't in | 21:28:52 |
delroth | yeah I figured, it's just a very funny rendering imo :) | 21:29:52 |
Lunaphied | well if you're getting a review from someone plural it's not wrong | 21:47:47 |
Lunaphied | Also wait | 21:48:34 |
Lunaphied | GitHub handles CODEOWNERS natively now? | 21:48:40 |
jade_ | badly | 21:51:25 |
jade_ | it requires that they have commit access | 21:51:32 |
jade_ | which is absurd | 21:51:34 |
jade_ | one of these days i am going to write a "github is a terrible website" blog post | 21:52:36 |
jade_ | (kind of surprised the extent to which i went from "github is fine" to "wow github is busted" through the course of the last three months on lix) | 21:53:16 |
Qyriad | Forgejo really is just a Better github-like | 22:44:50 |
julia | (aside from screen reader accessibility) | 23:04:02 |
Qyriad | oof, that's worse? | 23:16:40 |