Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- 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

Topic revision: r4 - 2004-08-20 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.