os.time BUG!!!!!!!!!!

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Sid-Ali
Posts: 10
Joined: Thu Dec 29, 2005 6:27 am

os.time BUG!!!!!!!!!!

Post by Sid-Ali »

hello, I use the function os.time to have the hour but its poster the good hour at home in Canada on the GMT of the east east 23:33 of the evening and on lua player the hour 4:33, it is surment a bug of time zone but how to make to have the good hour. I that there was already this bug and it was fixed into 0.14 besides there its gives the good hour but in 0.15 the bug persists could you know help me? or the next version should be awaited?
Sid-Ali
User avatar
dragaron
Posts: 6
Joined: Tue Dec 06, 2005 11:14 am

Post by dragaron »

Yeah, I mentioned that here:

http://forums.ps2dev.org/viewtopic.php? ... 30ea3c489f

Because of it, I have stuck with V14
He has showed you, O man, what is good.
And what does the LORD require of you?
To act justly and to love mercy
and to walk humbly with your God. (Micah 6:8)
romero126
Posts: 200
Joined: Sat Dec 24, 2005 2:42 pm

Post by romero126 »

The reason why is because it uses a GMT based time.

If you change your clock to GMT which is +0 on your PSP it should fix this problem and change your current clock to the actual time.
Post Reply