Sunday, January 13, 2008

13 months a year?

Do you believe in "Unlucky 13"?

Today (13th) we had a bug on production.
Yesterday it worked... Today it doesn't....

After short debugging I have analyzed it to be a date parsing error - so I switched the date on the server back to yesterday, and it worked again.

So finally I found out that the culture was Hebrew while the Dataset was comparing based on Invariant culture. so:

12/1/2008 can be translated both as:

  • 12th JAN
  • 1st DEC

But 13/1/2008 can only be translated as:

  • 13th JAN

but it would crash if you try to translate it as 1st to ??? (the 13th month...)

It just remind be a great book of Erich Kästner - The 35th of May...

2 comments:

Jeniffer Grant said...

I’m grateful for the useful tips shared here, it was very beneficial.
Read this article and explore more jitter Click Test. Jitter Click Test is great for improving rapid finger movement.

Jeniffer Grant said...

I really appreciate the effort put into this article, it gave me a lot of insights that I didn’t know before. Read this article to gain more knowledge on the topic CPS Test. The CPS Test helps you track how fast you can click in a set time frame.