Striker@lemmy.worldM to Mildly Infuriating@lemmy.worldEnglish · 10 months agoThis mofo was born on the wrong daylemmy.worldimagemessage-square46fedilinkarrow-up1400arrow-down127
arrow-up1373arrow-down1imageThis mofo was born on the wrong daylemmy.worldStriker@lemmy.worldM to Mildly Infuriating@lemmy.worldEnglish · 10 months agomessage-square46fedilink
minus-squareNouveau_Burnswick@lemmy.worldcakelinkfedilinkEnglisharrow-up52·10 months agoIt specifically requested DD/MM/YYYY format though.
minus-squareChocrates@lemmy.worldlinkfedilinkEnglisharrow-up5arrow-down1·10 months agoYeah… I am stoned but this looks like it should be valid and there is just a bug in the code.
minus-squaredukk@programming.devlinkfedilinkEnglisharrow-up6arrow-down1·10 months agoI’m guessing the UI designer accidentally put in DD/MM/YY, when the code handles the date as MM/DD/YY.
minus-squaretimkenhan@sopuli.xyzlinkfedilinkEnglisharrow-up10·10 months agoSometimes if the developers don’t specify, the date format can follow clients’ settings, which can lead to unpredictable results like this.
minus-squaredukk@programming.devlinkfedilinkEnglisharrow-up2arrow-down1·10 months agoYeah, I’d imagine you’d want to adapt for different locales. Here in the US, MMDDYY is pretty ubiquitous, but I’m sure it’s different in other countries.
minus-squaretimkenhan@sopuli.xyzlinkfedilinkEnglisharrow-up2·10 months agoI’ve experienced this kind of confusion first hand, so I know a thing or two.
It specifically requested DD/MM/YYYY format though.
Yeah… I am stoned but this looks like it should be valid and there is just a bug in the code.
I’m guessing the UI designer accidentally put in DD/MM/YY, when the code handles the date as MM/DD/YY.
Sometimes if the developers don’t specify, the date format can follow clients’ settings, which can lead to unpredictable results like this.
Yeah, I’d imagine you’d want to adapt for different locales. Here in the US, MMDDYY is pretty ubiquitous, but I’m sure it’s different in other countries.
I’ve experienced this kind of confusion first hand, so I know a thing or two.