- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Actually, only Americans say Month-Day. People in England tend to say 'the twenty-fifth of december'. Actually.
Admin
Admin
Admin
I disagree, I think that they should let me spend 5 minutes alone with the guy, just me, him, and a cattle prod.
\No Pants.
Also, the guys the design RTC clocks that keep time in mm/dd/y + hh:mm:ss instead of seconds + ms since whenever, I'll kick you in the nads if we ever meet.
Admin
What an efficient way to break the code should it ever be ported elsewhere.
Admin
That's as dumb as wondering why these files don't sort numerically:-
one.doc two.doc three.doc cinq.doc funf.doc
Captcha "Damnum" strangely appropriate.
Admin
TRWTF is that Microsoft had the exact same bug, and it brought down their whole cloud http://blogs.msdn.com/b/windowsazure/archive/2012/03/09/summary-of-windows-azure-service-disruption-on-feb-29th-2012.aspx
Admin
I'd say that date handling in general is hard (judging by the number of times developers screw it up).
I've run into bugs where I tried to advance a date by adding some multiple of 24 hours, only to cross a PST/PDT boundary and have the resulting date end up being off by one hour.
It gets worse if your software deals with dates that go back in history a significant amount. There have been adjustments to our calendar at various points in history that make it impossible to use that kind of math on Gregorian dates.
You end up having to convert to Julian representation, make your calculations, and then convert back to Gregorian.
...and then there's trying to manage multiple (fluctuating) currencies in a financial system (GAAAAAK!)
Admin
TRWTF is how they managed to fuck up Convert.ToDateTime so that attempting to parse "2/29/1987" as a date crashes and burns instead of correcting it to 3/1/1987 like it's supposed to: