Tags:
create new tag
view all tags

Question

I have been playing with tables (EDITTABLE) and I am trying to change the date format on the fly from the system default (i.e. in the table).

The Documentation says I can use this:

  %VBAR% date, <size>, <initial value>, <DHTML date format> %VBAR%

So, I use something like:

%EDITTABLE{ format = "| date, 10, , YYYY-MM-DD" |" }%

It does not change the date format with or without quotes on the YYYY-MM-DD. Am I using the wrong DHTML format or it does not work?

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: Windows Vista
Web Browser: Fox
Categories: Missing functionality

-- JohnGee - 01 Jun 2008

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.

I found the answer, you have to use the format %m-%d-%Y And, of course, there are many other variations of this to format the date anyway you could want.

-- JohnGee - 01 Jun 2008

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-06-01 - JohnGee
 
  • 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.