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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-01-05 - XiaojingLi
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.