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

Previous topic - Next topic

msx

I tried to know the time of the device using PLATFORMINFO$("TIME") and shows me the correct time in IOS, but not in WebOS, showing the time in time zone UTC instead of UTC+2, as I have it configured in my Pre 2.

Gernot, help me please.  :nw:

msx

Please, move to Bug Report section.  :whistle:

Kitty Hello

"TIME" should always return global time. Check the timezones set.
I tried to implement "LOCALTIME", but found no time, yet. (or did I?)


Ian Price

Works fine on TouchPad - my latest app uses it for something special...
I came. I saw. I played.

msx

That's not exactly. In my iPhone gives me the time in time zone GMT +2 but pre2 gives me time in GMT.

If as you say would be the two in GMT.

Ian Price

Is your Pre using Network time? That might be the reason. I switched mine off and both Pre and TouchPad keep the proper time and give the same in "TIME"
I came. I saw. I played.

msx

I tried it both ways. It is very rare but I need to do more tests later to see what is happening.

I will comment with more certainty what is the problem.

Thank you.

msx

I can confirm that there is disparity in results when running PLATFORMINFO$("TIME") in IOS, Windows, and WebOS. Why?.  :noggin:

msx

But the strange thing is that if I change to a different time zone, the time changes, so it does take into consideration the time zone but do not do it correctly, I think.

Any solution?

Slydog

Maybe it's not taking Daylight Savings Time (DST) into account?
(Or it IS, and your country doesn't use it?)
That would explain if it is always 1 hour off no matter what time zone you select.
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

msx

In Spain we have daylight savings, so we are in the time zone GMT +2 currently.

In winter GMT +1.

Any other ideas?  :nw:

MrTAToad

By the looks of it, there could be a bug in webOS...

msx

Apparently it's not a BUG because it only happens to me. Surely they sent me the phone that was flawed from the factory.

:rant:

ampos

Quote from: msx on 2011-Oct-01
Apparently it's not a BUG because it only happens to me. Surely they sent me the phone that was flawed from the factory.

:rant:

Ask your money back!

:nana:

MrTAToad

#14
A chappie from Palm did appear to state there is a bug in the time system : https://developer.palm.com/distribution/viewtopic.php?f=70&t=12161

It actually also suggests a solution too :)