Bug: Isodate Not Working on TWiki.org
the
$isodate variable does not appear to be working on TWiki.org
Test case
isodate for this topic: 2004-08-20T10:29:54Z
Environment
--
SamHasler - 24 Mar 2004
Follow up
poop and sorry ... i assume that i broke it. - i'll look at it
--
SvenDowideit - 24 Mar 2004
Fix record
I've commited a fix to cvs, but the crux of it is to change the 2nd parameter to formatTime to "iso"
sub revDate2ISO
{
my $epochSec = &TWiki::revDate2EpSecs( $_[0] );
return &TWiki::formatTime( $epochSec, "iso", "gmtime");
}
--
SvenDowideit - 28 Mar 2004