DroneRights [it/its]@lemm.ee to Programmer Humor@programming.devEnglish · edit-22 years agoWelcome to the wonderful world of code obfuscationimgur.comimagemessage-square47fedilinkarrow-up1178arrow-down18file-text
arrow-up1170arrow-down1imageWelcome to the wonderful world of code obfuscationimgur.comDroneRights [it/its]@lemm.ee to Programmer Humor@programming.devEnglish · edit-22 years agomessage-square47fedilinkfile-text
minus-square4am@lemm.eelinkfedilinkarrow-up3arrow-down1·2 years agodayOfWeek is clearly represented by 1-7 in the example, with Sunday being 1. So, I guess the answer is “depends on what date library you’re linking against”
minus-squareDroneRights [it/its]@lemm.eeOPlinkfedilinkEnglisharrow-up3arrow-down9·edit-22 years agoSunday is 1 0 and Saturday is 7 6. You just made Friday part of the weekend You forgot Sunday
minus-squareJeffKerman1999@sopuli.xyzlinkfedilinkarrow-up17arrow-down1·2 years agoOn which planet? Monday is 1
minus-squareDroneRights [it/its]@lemm.eeOPlinkfedilinkEnglisharrow-up4·2 years agoI was off by one, but Sunday is 0 in javascript
weekend = dayOfWeek > 5
dayOfWeek is clearly represented by 1-7 in the example, with Sunday being 1.
So, I guess the answer is “depends on what date library you’re linking against”
Sunday is
10 and Saturday is76.You just made Friday part of the weekendYou forgot SundayOn which planet? Monday is 1
I was off by one, but Sunday is 0 in javascript