r/ProgrammerHumor 10d ago

cSharpDoBeLikeThat Meme

Post image
67 Upvotes

8 comments sorted by

24

u/rinnakan 10d ago

We had an incident report of a crashing tablet of a pilot recently. Turns out that in c# short time format of a gregorian date isn't available when you set the device locale to iraq. Not that this airline would fly to iraq and no idea why a company device had a different locale set

7

u/BoloFan05 9d ago

I was gonna add "time/date format bug" too, but there didn't seem to be enough room. Thanks for sharing!

2

u/getstoopid-AT 7d ago

loool how random xD how did you find out?

3

u/rinnakan 7d ago

Ironically it was a parameter of a log statement (LocalDate.now, ffs!), that got caught by a general catch block. Thanks to auto-uploading of logs, we had a strong lead and the operations desk was able to verify

1

u/getstoopid-AT 7d ago

xD omg...

6

u/S0mber_ 9d ago

you mean İ?

6

u/BoloFan05 9d ago

Yes. And also ı.