robconery.com

Weird Brazil Date Bug with Jon Skeet

a year ago | Videos
Digging through my archives once again and found this wonderful video with Jon Skeet doing what he loves to do: sleuthing date bugs and answering questions on StackOverflow!
***

Back in 2011 or so I recorded a series of videos with Jon Skeet, dissecting answers to his StackOverflow questions that he found interesting.

Jon starts things off by sleuthing out a rather hairy Date/Timezone bug which, evidently, only happens in Brazil. To make matters even more interesting, the code is written in Objective-C on iOS6!

Jon is not an iOS developer yet he still managed to get credit for this answer! I love how he digs into a passion of his: dates.

Here's the original question:

Why does NSDateFormatter return nil date for these 4 time zones?
Try running this in iOS6 (haven’t tested pre iOS6): NSDateFormatter *julianDayDateFormatter = nil;julianDayDateFormatter = [[NSDateFormatter alloc] init];[julianDayDateFormatter setDateFormat:@”...

There's More...

The Subtle Arts of Logging and Testing

I'm a big fan of testing, but I get lazy sometimes and it ends up costing me money, directly.

Test-driven Development In Action

TDD is one of those things that people talk about, argue about, and think is interesting. I'm one of those people, so I asked Brad Wilson to clear it all up for me.

Meet Playwright

Curious about Playwright, the frontend testing framework? Well hang out for the next hour and I'll show it to you!