create new tag
, view all tags

Feature Proposal: Configure output format of search variable $createdate


Improve usability and flexibiity through formatting the output.

Description and Documentation

Configure the output of the search variable $createdate like %GMTIME{}%. i.e. $createdate("$year-$month-$day") Or add something like $createisodate.



WhatDoesItAffect: Rendering, Search, Usability


-- Contributors: TobiasVonDerKrone - 19 Dec 2008


Good proposal. There is also a workaround: Use SpreadSheetPlugin CALC to convert to epoch, then back to a format of choice. Remember to escape the CALC inside a SEARCH so that it fires off once per search hit, not once per search. Untested example: format="$percntCALC{$FORMATTIME($TIME($createdate), $year-$mo-$day)}$percnt".

-- PeterThoeny - 19 Dec 2008

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-12-19 - PeterThoeny
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.