We could just treat every day like the weekend and see what that does to the software people?

by Michael S. Kaplan, published on 2008/01/24 10:01 -05:00, original URI: http://blogs.msdn.com/b/michkap/archive/2008/01/24/7181052.aspx

From the Suggestion Box, a question from SiaO's favorite random reader, Tanveer Badar:

Next question from the [not] random reader.

You wrote way back in 2005 about 'How many days in a weekend?'

I left a comment there too (couldn't resist). :)

I search MSDN but couldn't find anything relevant. I suspect there won't be anything relevant ever with the ridiculous situation we have.

The question goes like this:

"In Pakistan, weekend has shifted back and forth between Friday and Sunday at least half a dozen times. We even had two day long weekend in the 90s. But actually, this would make weekend 2.5 days long because of the half day off on Fridays and holiday on Saturday and Sunday."

This <em>will</em> make any solution problematic for the weekend days and duration because these decisions were made with political agendas and hence the numbers, much more like the updates I have to install twice every year for DST even when Pakistan does not use DST (we tried once to copycat :().

Remembering the lesson from How many days in a weekend? which point out that we do little more than the fractional value


there is not much more than can be done if countries are going to randomly choose to make an already improbable task somewhat impossible by changing the rules so regularly. :-(

Not to mention that the likelihood of me being in Pakistan any time soon is quite scant given how my employer wouldn't send me to India either, and I will be out of vacation time for a bit....

Step one would of course be adding the actual locale data, and as for the constant stream of changes, each Windows version would ship the one in force when Windows shipped amd if they changed more often then we'd just be off a bunch....


This post brought to you by  ⁄  (U+2044, aka  FRACTION SLASH)

no comments

Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

go to newer or older post, or back to index or month or day