Page 1 of 1

Setting Timezone with parameters

Posted: Wed Jul 27, 2011 11:29 pm
by klous-1
Hello everyone,

I'm trying to set the time zone using parameters for the widget, using moment=. Not having much luck so far, having trying tried various connotations. Is anyone able to tell me if this is possible? I'm hoping to just enter moment=Z-6.0 or something similar....

Thanks!
Nick

Re: Setting Timezone with parameters

Posted: Thu Jul 28, 2011 1:01 am
by klous-1
Well, sort of got this working, though I can't seem to set the timezone, only the moment, which still means that "Live" shows the users local time, which is not what I want really.

Also, and more of a problem, is that the time is always plus two hours, on top of what is loaded with the parameter!! So if Iset the moment to 22;00 it shows 2400....

Any help would be really appreciated....as I'm zapped! :%)

Re: Setting Timezone with parameters

Posted: Thu Jul 28, 2011 3:43 pm
by par
It looks like the API does not work as I expected it to work.
Please give me some time, I hope to dig into the problem in a couple of days.
I wonder what are you doing with the widget?
Don't get me wrong I'm just curious, I'm happy with anyone who is trying to build a new work on top of YoWindow.

Re: Setting Timezone with parameters

Posted: Thu Jul 28, 2011 4:07 pm
by klous-1
Thanks Par!

I think you know what I'm doing, having now seen my other post...http://yowindow.com/forum/viewtopic.php?f=18&t=3313

Thanks for the help.