Timestamp out by 1 hour

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
Matt
Advanced user
Posts: 19
Joined: Thu Jun 24, 2010 10:49 am

Timestamp out by 1 hour

Post by Matt »

Hello chaps,

I can't seem to get TestLink to reflect the actual time - it always seems to be out by an hour, I can't get it to go right. I've tried looking in the documentation, trawling through the code and even checking the time/date settings on our host server - and nothing works.

I know I'm light on details, but I don't have a great deal to go on. If you think you have an idea let me know and I'll try getting whatever details you need out to you.

Thanks,
Matt
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Timestamp out by 1 hour

Post by fman »

1 hour ? smells of GTM+1 or something like this.
TL uses local date/time to write dates
Matt
Advanced user
Posts: 19
Joined: Thu Jun 24, 2010 10:49 am

Re: Timestamp out by 1 hour

Post by Matt »

Ok, how do I go about setting it back to standard GMT?
Unhandled
Advanced user
Posts: 67
Joined: Sun Jan 23, 2011 11:28 pm

Re: Timestamp out by 1 hour

Post by Unhandled »

Timezone is picked up by PHP configuration. See this post:
http://www.teamst.org/forum/viewtopic.php?f=5&t=733
Matt
Advanced user
Posts: 19
Joined: Thu Jun 24, 2010 10:49 am

Re: Timestamp out by 1 hour

Post by Matt »

Brilliant - that looks like the the right place. Now how do I set it to read for standard GMT? Tried Europe/London, London, GMT, Europe/GMT, UTC......

Is there somewhere else I need to look to make this change applicable, do I need to restart my server to read this time, anything like that?
Matt
Advanced user
Posts: 19
Joined: Thu Jun 24, 2010 10:49 am

Re: Timestamp out by 1 hour

Post by Matt »

Can anybody help me with this? Any UK users had to reset thier time?

As with everything, I'm sure it's easy when you know how - I just don't know how!!
Matt
Advanced user
Posts: 19
Joined: Thu Jun 24, 2010 10:49 am

Re: Timestamp out by 1 hour

Post by Matt »

http://mantis.testlink.org/view.php?id=4468

I've raised a Mantis issue on this now - we've done a fair bit of work on this here and it seems like there is an issue between TestLink and PHP changing it's date.timezone codes that hasn't been resolved.

If we're wrong about this, please correct us and tell us how to change the date.timezone.
Rosel
TestLink user
Posts: 2
Joined: Sat Jul 23, 2011 1:18 pm

Re: Timestamp out by 1 hour

Post by Rosel »

I also having this kind of problem, Does anyone have any idea how to fix this one? Please if anyone have a solution post it here, thanks :)

Regards,
Rosel
It's better to be respected than to be liked!
Post Reply