Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / 64-bit / May 2008

Tip: Looking for answers? Try searching our database.

Calendar gadget shows Monday as the 1st day

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Carlos - 03 May 2008 02:21 GMT
Calendar gadget shows Monday as the first day of the week.
Is there any workaround so that it shows Sunday instead?
Believe it or not, it confuses me a lot (rhyme).
:)
Carlos
Colin Barnhorst - 03 May 2008 02:44 GMT
According to the description for this third-party calendar gadget, "select
mon-sun or sun-sat".
http://gallery.live.com/liveItemDetail.aspx?li=d9bda7f3-5381-4924-adfa-430fed6aa
618&bt=1&pl=1


> Calendar gadget shows Monday as the first day of the week.
> Is there any workaround so that it shows Sunday instead?
> Believe it or not, it confuses me a lot (rhyme).
> :)
> Carlos
Carlos - 03 May 2008 13:31 GMT
Thansk, Colin!

> According to the description for this third-party calendar gadget, "select
> mon-sun or sun-sat".
[quoted text clipped - 5 lines]
> > :)
> > Carlos
Charlie Russel - MVP - 03 May 2008 06:08 GMT
Hunh. Mine starts on sunday. And I can't find where that setting is.

Signature

Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

> Calendar gadget shows Monday as the first day of the week.
> Is there any workaround so that it shows Sunday instead?
> Believe it or not, it confuses me a lot (rhyme).
> :)
> Carlos
Carlos - 03 May 2008 13:31 GMT
Charlie,
I guess it will depend on Vista localization (country, language)?
Carlos

> Hunh. Mine starts on sunday. And I can't find where that setting is.
>
[quoted text clipped - 3 lines]
> > :)
> > Carlos
Charlie Russel - MVP - 03 May 2008 20:24 GMT
Not seeing any way to change that, however, in the language section.

Signature

Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

> Charlie,
> I guess it will depend on Vista localization (country, language)?
[quoted text clipped - 7 lines]
>> > :)
>> > Carlos
Carlos - 05 May 2008 22:00 GMT
Charlie,
This calendar gadget is exactly what I was looking for:
http://gallery.live.com/liveItemDetail.aspx?li=b309fb8d-aaea-427d-b7cf-382f914b4
140&bt=1&pl=1

Carlos

> Not seeing any way to change that, however, in the language section.
>
[quoted text clipped - 9 lines]
> >> > :)
> >> > Carlos
Charlie Russel - MVP - 05 May 2008 23:30 GMT
Ah, good.

Signature

Charlie.
http://msmvps.com/blogs/xperts64
http://mvp.support.microsoft.com/profile/charlie.russel

> Charlie,
> This calendar gadget is exactly what I was looking for:
[quoted text clipped - 14 lines]
>> >> > :)
>> >> > Carlos
Andrew Tapp - 06 May 2008 21:13 GMT
I've been trying to sort this for a while as it is extremely anoying.

In the folder c:\program files\windows
sidebar\gadgets\calendar.gadget\en-us\js is a file called calendar.js, if you
edit this (you will have to change the permissions/take ownership to do so)
and change the line

loc.day.first = vbsFirstDayOfWeek()-1;

to

loc.day.first = vbsFirstDayOfWeek();

this will change the start day from Sunday to Monday.

I've also change the same file in the program files (x86)... folder as well.

Seems to work well with no issues so far, remember take a backup first.

Hope this helps.

> Calendar gadget shows Monday as the first day of the week.
> Is there any workaround so that it shows Sunday instead?
> Believe it or not, it confuses me a lot (rhyme).
> :)
> Carlos
Carlos - 06 May 2008 23:06 GMT
Andrew,
Thanks for the tip.
In my case (Vista x64, Spanish MUI, Argentina) I had to set:
loc.day.first = vbsFirstDayOfWeek()-2
instead of your recommended
loc.day.first = vbsFirstDayOfWeek()
which had caused Tuesday to be the first day of the week!!!
:)
Carlos

> I've been trying to sort this for a while as it is extremely anoying.
>
[quoted text clipped - 22 lines]
> > :)
> > Carlos
Carlos - 07 May 2008 02:42 GMT
Andrew,
A small bug in this method.
Sunday is now to the left (Ok)
Number "6" is highlighted (Ok, because it is Tuestday 6th)
On the top row, the single letter that identifies the day of the week is
wrong, I have Monday highlighted. In Spanish it is an "l" corresponding to
Lunes (Monday in English).
So, proper number of the day, wrong name of the day.
Any suggestions?
Carlos

> I've been trying to sort this for a while as it is extremely anoying.
>
[quoted text clipped - 25 lines]
>> :)
>> Carlos
Tony Sperling - 26 May 2008 01:47 GMT
Carlos, I didn't see this thread until now, if it is still open, I would
like to contribute that Andrew's method may be wrong for you because of the
different locations? Since I'm not on Vista myself, I cannot (or, I believe
I cannot) easily check or verify the bits and pieces, but the US default
should make Sunday the first day, I believe. In Scandinavia Monday is
definitely the first day and calendar math defines the first day as day
'0' - if you introduce calculations containing '-1' and change location too
you might actually expect anything, right?

   0 -1 = 6 (Saturday, under the US default?)

Making changes here may change the number of the day without changing the
name too?

You may need to analyse what happens when you edit those lines, deep down
inside the system something is making recalculations by way of binary-logic
to wrap around between values from '0 - 6'  and you might need to start off
by giving false information and  tell a lie?

(a white one!)

Tony. . .

> Andrew,
> A small bug in this method.
[quoted text clipped - 36 lines]
> >> :)
> >> Carlos
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.