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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2004-08-20 - CrawfordCurrie
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.