Tags:
create new tag
, view all tags

Question

I have problems on Date. I had correct date displayed when I use COMMENT as following: 05 Jan 2007 - 09:59

I had incorrect date displayed when I use COMMENT{type="threadmode"} as following: 04 Jan 2007

Also when I created a new topic the Your signature to copy/paste showed 04 Jan 2007 which is incorrect too.

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin
Server OS: Unix solaris 5.8
Web server: Apache1.3.34
Perl version: 5.8.8
Client OS:  
Web Browser:  
Categories: Plugins

-- XiaojingLi - 04 Jan 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

The date is based on GMT, depending where you are the day could be off by one. Run configure to set the display time. The default formats of CommentPlugin posts are defined at CommentPluginTemplate, you can overload that at UserCommentsTemplate (both examples apply to TWiki 4.0 at twiki.org.)

-- PeterThoeny - 04 Jan 2007

thank you very much! I am now using servertime instead which solved my problem.

-- XiaojingLi - 05 Jan 2007

 
Change status to:
Topic revision: r3 - 2007-01-05 - XiaojingLi
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.