ashishkranjan / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

server timezone wrong #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What are the steps to trigger the problem?
1) I update a new messsage
2) I found that the last message is updated '1 hours ago'

What happened?
I am not a Phper, I am a java programmer. I found that in the 
common/twitter.php file, you use time() to get current time. I guess it returns 
the local time. I think you should get the utc time.

What did you expect to happen?
Considering the time zone of the dabr server. It can be located outside of UK.

Original issue reported on code.google.com by jackhate...@gmail.com on 27 Aug 2010 at 11:15