this post was submitted on 16 Nov 2023
0 points (NaN% liked)

Programmer Humor

19176 readers
957 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

Yes, someone actually did this and I found it running on our server

you are viewing a single comment's thread
view the rest of the comments
[–] Lysergid@lemmy.ml 0 points 10 months ago (1 children)
[–] DroneRights@lemm.ee 0 points 10 months ago* (last edited 10 months ago) (1 children)

Sunday is ~~1~~ 0 and Saturday is ~~7~~ 6. ~~You just made Friday part of the weekend~~ You forgot Sunday

[–] JeffKerman1999@sopuli.xyz 0 points 10 months ago (1 children)
[–] DroneRights@lemm.ee 0 points 10 months ago (1 children)

I was off by one, but Sunday is 0 in javascript

[–] oolio@feddit.de 0 points 10 months ago

Cron has clearly the superior numbering system, where sunday is both 0 and 7