Bug: The date when a topic moved does not appear, "gmtime" appears instead
Found a bug in TWiki20040320beta that is still in 20040513alpha : in function "renderMoved" (lib/TWiki.pm in beta ; lib/TWiki/Render.pm in alpha) you should replace
$date = formatTime( $date, , "gmtime" ); with
$date = formatTime( $date, '', "gmtime" );
The two consecuting comma are understood as if they were a unique, therefore
gmtime is displayed instead of the date.
This bug is also mentioned in
MinorBugs.
Environment
NB: this bug is independent of the environment.
--
LouisGranboulan - 26 May 2004
Follow up
Fix record
Thanks Louis. This is now in
TWikiAlphaRelease. (Not marked as
CairoRelease since this is a recently introduced bug)
Index: Render.pm
===================================================================
--- Render.pm (revision 1527)
+++ Render.pm (working copy)
@@ -182,7 +182,7 @@
my $by = $moved{"by"};
$by = TWiki::userToWikiName( $by );
my $date = $moved{"date"};
- $date = TWiki::formatTime( $date, , "gmtime" );
+ $date = TWiki::formatTime( $date, "", "gmtime" );
# Only allow put back if current web and topic match stored information
my $putBack = "";
--
PeterThoeny - 30 May 2004