absky
Joined: 10 Dec 2006 Posts: 1
|
Posted: 16 Dec 2006 - 6:59 am Post subject:
help with timezone
|
|
|
my server is in china. and the datetime show in GMT+8 or cst timezone.
when I add one news to tt_news, in the tt_news page field "date/time", the "date/time" is my localtime+8. (if my localtime is 12:00, then it will show that 20:00) ,but when I had added,then go to the page, the news field show the new news "datetime" is 12:00 (that is right).
then in my opinion, beacuse of my server timezone isn't UTC, my servertimezone is GMT+8,we call that CST. when i adding news, the tt_news knows my timezone is GMT+8, so in the adding tt_news, it shows the "datetime" is servertime+8. Now tt_news make a wrong that my servertime isn't UTC and my servertime timezone is the same as my localtime timezone. Now the datetime is the same to my localtime.
how to sitting the conf, to add a offset to the datetime. I find that in the install, the servertimezone isn't used just one time in the PHP programs. if add it in the jsfunc.evalfield.js. my problem will be done. |
|