Jump to content

Calendar gadget shows Monday as the 1st day


Recommended Posts

Guest Carlos
Posted

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

Guest Colin Barnhorst
Posted

Re: Calendar gadget shows Monday as the 1st day

 

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-430fed6aa618&bt=1&pl=1

 

"Carlos" <Carlos@discussions.microsoft.com> wrote in message

news:7E5F2AA8-28AB-4A54-93B0-266CEBD43D80@microsoft.com...

> 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

Guest Charlie Russel - MVP
Posted

Re: Calendar gadget shows Monday as the 1st day

 

Hunh. Mine starts on sunday. And I can't find where that setting is.

 

--

Charlie.

http://msmvps.com/blogs/xperts64

http://mvp.support.microsoft.com/profile/charlie.russel

 

 

"Carlos" <Carlos@discussions.microsoft.com> wrote in message

news:7E5F2AA8-28AB-4A54-93B0-266CEBD43D80@microsoft.com...

> 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

Guest Carlos
Posted

Re: Calendar gadget shows Monday as the 1st day

 

Charlie,

I guess it will depend on Vista localization (country, language)?

Carlos

 

"Charlie Russel - MVP" wrote:

> Hunh. Mine starts on sunday. And I can't find where that setting is.

>

> --

> Charlie.

> http://msmvps.com/blogs/xperts64

> http://mvp.support.microsoft.com/profile/charlie.russel

>

>

> "Carlos" <Carlos@discussions.microsoft.com> wrote in message

> news:7E5F2AA8-28AB-4A54-93B0-266CEBD43D80@microsoft.com...

> > 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

>

Guest Carlos
Posted

Re: Calendar gadget shows Monday as the 1st day

 

Thansk, Colin!

 

"Colin Barnhorst" wrote:

> 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-430fed6aa618&bt=1&pl=1

>

> "Carlos" <Carlos@discussions.microsoft.com> wrote in message

> news:7E5F2AA8-28AB-4A54-93B0-266CEBD43D80@microsoft.com...

> > 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

>

Guest Charlie Russel - MVP
Posted

Re: Calendar gadget shows Monday as the 1st day

 

Not seeing any way to change that, however, in the language section.

 

--

Charlie.

http://msmvps.com/blogs/xperts64

http://mvp.support.microsoft.com/profile/charlie.russel

 

 

"Carlos" <Carlos@discussions.microsoft.com> wrote in message

news:2DEC2B2E-779D-4584-B580-8673E0988DDB@microsoft.com...

> Charlie,

> I guess it will depend on Vista localization (country, language)?

> Carlos

>

> "Charlie Russel - MVP" wrote:

>

>> Hunh. Mine starts on sunday. And I can't find where that setting is.

>>

>> --

>> Charlie.

>> http://msmvps.com/blogs/xperts64

>> http://mvp.support.microsoft.com/profile/charlie.russel

>>

>>

>> "Carlos" <Carlos@discussions.microsoft.com> wrote in message

>> news:7E5F2AA8-28AB-4A54-93B0-266CEBD43D80@microsoft.com...

>> > 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

>>

Guest Carlos
Posted

Re: Calendar gadget shows Monday as the 1st day

 

Charlie,

This calendar gadget is exactly what I was looking for:

http://gallery.live.com/liveItemDetail.aspx?li=b309fb8d-aaea-427d-b7cf-382f914b4140&bt=1&pl=1

Carlos

 

"Charlie Russel - MVP" wrote:

> Not seeing any way to change that, however, in the language section.

>

> --

> Charlie.

> http://msmvps.com/blogs/xperts64

> http://mvp.support.microsoft.com/profile/charlie.russel

>

>

> "Carlos" <Carlos@discussions.microsoft.com> wrote in message

> news:2DEC2B2E-779D-4584-B580-8673E0988DDB@microsoft.com...

> > Charlie,

> > I guess it will depend on Vista localization (country, language)?

> > Carlos

> >

> > "Charlie Russel - MVP" wrote:

> >

> >> Hunh. Mine starts on sunday. And I can't find where that setting is.

> >>

> >> --

> >> Charlie.

> >> http://msmvps.com/blogs/xperts64

> >> http://mvp.support.microsoft.com/profile/charlie.russel

> >>

> >>

> >> "Carlos" <Carlos@discussions.microsoft.com> wrote in message

> >> news:7E5F2AA8-28AB-4A54-93B0-266CEBD43D80@microsoft.com...

> >> > 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

> >>

>

Guest Charlie Russel - MVP
Posted

Re: Calendar gadget shows Monday as the 1st day

 

Ah, good.

 

--

Charlie.

http://msmvps.com/blogs/xperts64

http://mvp.support.microsoft.com/profile/charlie.russel

 

 

"Carlos" <Carlos@discussions.microsoft.com> wrote in message

news:A8C1AC71-D48C-40B1-BAF9-90154440CC9F@microsoft.com...

> Charlie,

> This calendar gadget is exactly what I was looking for:

> http://gallery.live.com/liveItemDetail.aspx?li=b309fb8d-aaea-427d-b7cf-382f914b4140&bt=1&pl=1

> Carlos

>

> "Charlie Russel - MVP" wrote:

>

>> Not seeing any way to change that, however, in the language section.

>>

>> --

>> Charlie.

>> http://msmvps.com/blogs/xperts64

>> http://mvp.support.microsoft.com/profile/charlie.russel

>>

>>

>> "Carlos" <Carlos@discussions.microsoft.com> wrote in message

>> news:2DEC2B2E-779D-4584-B580-8673E0988DDB@microsoft.com...

>> > Charlie,

>> > I guess it will depend on Vista localization (country, language)?

>> > Carlos

>> >

>> > "Charlie Russel - MVP" wrote:

>> >

>> >> Hunh. Mine starts on sunday. And I can't find where that setting is.

>> >>

>> >> --

>> >> Charlie.

>> >> http://msmvps.com/blogs/xperts64

>> >> http://mvp.support.microsoft.com/profile/charlie.russel

>> >>

>> >>

>> >> "Carlos" <Carlos@discussions.microsoft.com> wrote in message

>> >> news:7E5F2AA8-28AB-4A54-93B0-266CEBD43D80@microsoft.com...

>> >> > 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

>> >>

>>

Guest Andrew Tapp
Posted

RE: Calendar gadget shows Monday as the 1st day

 

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.

 

"Carlos" wrote:

> 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

Guest Carlos
Posted

RE: Calendar gadget shows Monday as the 1st day

 

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

 

"Andrew Tapp" wrote:

> 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.

>

> "Carlos" wrote:

>

> > 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

Guest Carlos
Posted

Re: Calendar gadget shows Monday as the 1st day

 

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

 

"Andrew Tapp" <AndrewTapp@discussions.microsoft.com> escribió en el mensaje

de noticias news:E7B89E69-5B81-4115-A05A-98F3998F8B78@microsoft.com...

> 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.

>

> "Carlos" wrote:

>

>> 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

  • 3 weeks later...
Guest Tony Sperling
Posted

Re: Calendar gadget shows Monday as the 1st day

 

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. . .

 

 

 

"Carlos" <atashian01@remove_the_obvious_hotmail.com> wrote in message

news:%23ROGFO%23rIHA.4876@TK2MSFTNGP02.phx.gbl...

> 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

>

> "Andrew Tapp" <AndrewTapp@discussions.microsoft.com> escribió en el

mensaje

> de noticias news:E7B89E69-5B81-4115-A05A-98F3998F8B78@microsoft.com...

> > 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.

> >

> > "Carlos" wrote:

> >

> >> 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

>

×
×
  • Create New...