- 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
LOL, this never occured to me - the first letters of the weekdays are an acronym for More Than W. T. F.
Admin
Maybe I'm too Old or too young to have simpathy for the bastard that coded the site....
Admin
http://www.flickr.com/photos/37996592430@N01/274283768 for the same error in another browser
And, a bit further google searching (distinctive typo) and we have the culprit: http://www.dynamicdrive.com/dynamicindex6/popcalendar.htm
It appears that this was a script that uses document.all or document.layers, and they updated the error message (but not the code) when the DOM became standardized with getElementById and friends.
Summary - the code will work on any IE after 4.x, and any netscape 4.x (but not later). It might work on opera, since I think opera supports document.all
Admin
Yeah, it's a real WTF to start the week on Sunday!
Admin
It doesn't work on my version of Opera (8.54). The calendar shows, but the year is 107 and 108, and when I select a date, it puts something like "05/10/-1793" in the text box.
I learned to avoid anything from dynamicdrive.com
Admin
Proof that it's not IE only, or "Particular version of IE" only. I call "Not WTF" on this error message. Put simply, your browser is too modern, since it ditched the legacy APIs this script depends on.
Admin
omfud, they usind de dokumunt struchure!
PS: I didn't realize Wed/Thur/Fri was WTF either, hah!
Admin
To be fair to them, this is a Y2K problem caused by an ambiguity in the original javascript requirements. See http://my.opera.com/hallvors/blog/show.dml/738966 or my replies on a recent thread here.
ISTR Opera changes its behavior in this regard if you have it identify as IE. And the fact that the rest of it worked so that you got to where it was putting a bad year in the box kind of proves my point. Otherwise, see if it works with dates in the 20th century.
Admin
ahh 1793 BC that was sad year. Sin-muballit father of Hammurabi passed away. And in what is now India the lunar eclipse on 19th April 1793 BC marked the end of the reign of Ibbisin as well.
Admin
M T W T F = More Than WTF or the days of the week, which seems more than appropriate with my current tasks.
Admin
FYI: There are at least 22 countries (all middle-east) in which the week-end is Friday and Saturday. Guess which first day of the week would be there..
Admin
Weeks used to start at Sundays in Europe too, btw.
Admin
How many calendars do you have that don't show Sunday as the first day of the week?
Admin
I would think that since there was no year 0, 0 would map to 1 B.C., and thus -1793 would have to refer to 1794 B.C.
Admin
All of them?
Admin
England here, calendars show Sunday as week start. As does Google Calendar. In fact almost everything I've seen does.
Admin
Admin
on the 7th day God rested. In the Old testament the 7th day was Saturday. hence the week if you really want to pick a first day starts on sunday. I prefer Tuesday, Missing the horrors of Monday altogether as it doesn't exist in my personal 19 day week.
Admin
I never noticed it before but my phone shows Sunday as the first day and the computer shows Monday...
Oo
Admin
What's far worse is how you seem to completely miss the satire in the original post stating that beginning a week with a Sunday is a WTF.
Admin
Nope didn't miss it, you missed mine. My post as purely to take an obtuse stab at MS and their right but wrong answers.
Admin
well it still looks like a bad year. The Dynasty of Isin ended.
Admin
[quote user="burned"] ... Weeks used to start at Sundays in Europe too, btw.[/quote]
on the 7th day God rested. In the Old testament the 7th day was Saturday. hence the week if you really want to pick a first day starts on sunday. I prefer Tuesday, Missing the horrors of Monday altogether as it doesn't exist in my personal 19 day week.[/quote] "On the 7th day God rested." Are you aware that the Jews have Sabbath at Saturday? So Sunday is the first day of the week, the day Christ arose from the grave, the day New Life started.
I thought Bush would educate the Americans a bit on that, what a shame ;)
Admin
Well not in all European countries. Here in Finland it's Monday-Sunday which makes sense to me. Europe isn't like a one big country like US, we've got plenty of small countries which all have local standards.
Admin
His majesty desired I would take some other opportunity of bringing all the rest of his enemy's ships into his ports. And so unmeasureable is the ambition of princes, that he seemed to think of nothing less than reducing the whole empire of Blefuscu into a province, and governing it, by a viceroy; of destroying the Sunday-endian exiles, and compelling that people to end the week on Saturday, by which he would remain the sole monarch of the whole world.
Captcha: waffles
Admin
And, like a lot of criticism of MS and their software (though far from all of it... I'd say people bat about .500), it's pure BS.
In a lot of the world, starting on Monday is the actual right answer, and starting on Sunday is the "right but wrong" answer.
Admin
So you must be management then.
And with that statement I feel like I need to explain the whole process, because management will never understand it.
A man flying in a hot air balloon suddenly realizes he’s lost. He reduces height and spots a man down below. He lowers the balloon further and shouts to get directions, "Excuse me, can you tell me where I am?"
The man below says: "Yes, you're in a hot air balloon, hovering 30 feet above this field."
"You must work for Microsoft," says the balloonist.
"I do" replies the man. "How did you know?"
"Well," says the balloonist, "everything you have told me is technically correct, but It's of no use to anyone." The man below replies, "You must work in management."
"I do" replies the balloonist, "But how did you know?"
"Well", says the man, "you don’t know where you are, or where you’re going, you expect me to be able to help. You’re in the same position you were before we met, but now it’s my fault."
I know there are different variations of this, but this works well enough.
Admin
In the end there is no right or wrong about the first day of the week, especially in IT. Servers don't wait till Monday at 9AM to crash just so we can have our weekends free.
The right answer was posted previously, internationalization should be used to start the week on the appropriate day for your region.
The only wrong answer is insisting that it is a particular day regardless of where you are.
Admin
Admin
Oh man. The intranet site I inherited uses that same goofy little calendar. I had to do some pretty freaky stuff to it to make it work with Firefox. It's pretty nice once it works, but... shudder.
Admin
So... What's the big deal about the calendar!? everyone in here has lived with it through all of their lives... Even if the week started on Sunday or Monday... this is a "MTWTF" :P
Admin
Reminds me of the old programs from back when screen resolution was either 640x480 or 800x600. Tried to run something on my spiffy new 1024x768, and it told me my screen resolution was != 800x600, therefore too low...
Admin
Exactly. So why did you say that a calendar was "right but wrong" and "useless" for starting on Monday?
Admin
Weeks STILL start on Sunday in most of Europe. The weekend is still Saturday and Sunday, though.
Admin
Quick, someone register wednesdaythursdayfriday.com before Alex gets teh brite idea to rename again!
Admin
The UAE changed to Friday-Saturday weekend from Thursday-Friday weekend last year or so. Kuwait will make the same change on September 1st, 2007.
Admin
Same as New Zealand. I've never known anything but Sunday to Saturday for the days of the week.
Admin
And looking around me here, sitting in an office in London, the calendar in Windows starts the week on a Monday, the Google apps calendar starts on a Monday, the oh-so-amusing golf calendar on the wall nearby starts on a Monday, my analogue watch doesn't do days, the Blackberry starts on a Monday.
And finally, I don't normally turn up for work until Monday!
Admin
The only statement I see above that says "right but wrong" is complaining about someone's answer "all of them" in response to "how many calendars do you have that start the week on [whichever day]".
Admin
I've come across several different pieces of software (both online and regular) that won't accept new versions of whatever they need to run on (from flash to directX). "You're running out of date software, version 8. Please install version 5 to continue."
Admin
Ohhhhh... now that you put it that way, it's obvious it was intended that way and I'm an idiot.
I was reading the post as saying that calendars starting on Monday are right but wrong.
Admin
My favorite, a DirectX one, was the Fallout installer that made the asssumption that DirectX would never, ever be ported to any version of Windows NT.
Try to run it on Windows 2000, and it gives you a message like, "you are using Windows NT, will does not have DirectX." So stupid. You had to manually install it to get past the stupidity.
Lesson for software developers: Check FEATURES, not VERSIONS. If you want to know if DirectX is installed, check it's version number (however that's done in Windows.) If you want to know if you can use document.all, check "typeof(document.all) != 'undefined'" first in JS. It's easy.
Admin
Again, this error message was a result of checking for features. The features it relied on are in fact obsolete, so saying someone's browser is too modern was a reasonable thing to say.
Admin
Irony, much? While this is better than checking for the version of windows, in fact web browser javascript bits are pretty much the only thing that truly let you check for features and not versions of something.