Possible bug in PLATFORMINFO$("TIME") in WebOS

Previous topic - Next topic

msx

I hope that Gernot can take a look!

:nw:

Marmor

wrong solution .

MrTAToad


Kitty Hello

Can you test it yourself, please?
Code (glbasic) Select

PUTENV "TZ", ":/var/luna/preferences/localtime"
STDOUT "Time: "+PLATFORMINFO$("TIME")


If it works, I'll put that patch in.


msx

Thanks Gernot, I will try it this afternoon.

ampos

I have this bug too on TP.

It is currently displaying GMT time.

In  Spain it is 3:00, GMT+1 +1 DLS but it is displaying 1:00.

I try the PUTENV thing.

On Win, it displays 2:00, but on TP it says still 1:00

:'(

Ian Price

Maybe, as I'm actually in/using GMT that's why I don't have this problem.

I have a similar time problem with my XBox and PS3 - the time on those is screwed up, even if it grabs network time it's wrong. XBox is exactly one hour out. PS3 quite a few minutes IIRC.
I came. I saw. I played.

MrTAToad

#22
Does the Palm clock program state the correct time ?

I can confirm that it is one hour out on my Palm too...  The PUTENV thing didn't work unfortunately...

ampos

Yes, the TouchPad clock displays the time correctly.

I will check it later on the Pre2

ampos

Fixed with WebOS 3.0.4 on TouchPad!

ampos

LOL

If I launch the program touching the pad, the clock is wrong.

If I launch the program from the putty shell, the clock is fine.

O_O :blink: O_O :blink: O_O :blink:

kanonet

I have no WebOS only limited linux experience, so maybe im wrong: is it possible, that you run the app with different user privileges? Maybe with touch its the standard (limited) user and within the shell its the root/admin user? Just an idea, but maybe it can help find the bug...
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

MrTAToad

QuoteIf I launch the program touching the pad, the clock is wrong.

If I launch the program from the putty shell, the clock is fine.
Yes, it does appear to be a webOS bug...  Its getting the time offset either from an incorrect place when run from the pad, or its not getting it at all...