Download  |  Search  |  Log in  |  FAQ  |  Memberlist  |  Online  |  TYPO3.org Developer Resource
Home » Backend » Other
Post new topic   Reply to topic Page 1 of 1 [2 Posts] help with timezone
Author Message
absky



Joined: 10 Dec 2006
Posts: 1

PostPosted: 16 Dec 2006 - 6:59 am    Post subject:  help with timezone Reply with quote

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.
Back to top
View user's profile Send private message
ttb



Joined: 03 Dec 2005
Posts: 80
Location: Schwerin (Germany)

PostPosted: 10 Jan 2007 - 12:31 pm    Post subject: Reply with quote

Just try to locale your site by using this ts-code:

config.locale_all = dk_DK

This locales your site to danish. Replace dk_DK whith the right country-code.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Home » Backend » Other
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum