• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
   * %REVINFO{$date}%
   * %SEARCH{"^%TOPIC%" regex="on" scope="topic" nosearch="on" nototal="on" zeroresults="off" format="$date"}%
   * %REVINFO{$time}%
   * %SEARCH{"^%TOPIC%" regex="on" scope="topic" nosearch="on" nototal="on" zeroresults="off" format="$time"}%

results in:

  • 2007-05-26
  • 2007-05-26 - 00:14
  • 00:14:15
  • $time

  • REVINFO $date passes no time with $date, formatted search does
  • REVINFO $time passes seconds
  • Formatted search does not have a $time parameter

AC

Probably more of an enhancement, but you have a good point in that these should be aligned featurewise.

-- SP

Doesn;t this duplicate what Kenneth was talking about at the last release meeting?

CC

It does not really duplicate as such.

But they are related.

The changes I am working on influence the date format but whether the time part should be included or not is not only a matter of allignment but also a matter of backwards compatibility. And also a matter of personal taste and personal oppinions.

We are going to break quite a lot of TWiki applications if we change one of them. I personally have a few Twiki apps that would be affected.

If we later want to improve this then a proposal is needed that maintains compatibility.

I will keep this one assigned to me leaving it in waiting for feedback to remind me to verify the new date feature. But I am not going to remove the time part of SEARCH. If we want a more flexible formatted search then it is better to add support for $time, $day, $month, $mo, and $year than breaking compatibility by changing behaviour of $date.

But we agreed to freeze for new features for 4.2.0. We have many already accepted features that are not yet implemented and will be deferred. Unit tests fails in great numbers and the number of open bug items is sky high. Let is finish what we have agreed for 4.2.0 and get into the focussed bug fighting mode and defer new features.

-- KennethLavrsen - 25 May 2007

My feature is now implemented.

And as noted. I did not want to alter the current behavior of SEARCH or REVINFO. At least not without time for people to report back.

Changing to enhancement.

-- KennethLavrsen - 26 May 2007

ItemTemplate
Summary Date and time format parameters differ for SEARCH and REVINFO
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.1, Mon, 06 Nov 2006, build 11926
AppliesTo Engine
Component

Priority Enhancement
CurrentState Confirmed
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2007-05-26 - TWikiUserMapping_KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback