In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000653 [In-Portal CMS] Data Management feature request N/A 2010-03-27 16:47 2012-07-25 05:33
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000653: Make "kDateFormatter" support date format constants in "format" parameter
Description I propose we teach kDateFormatter class how to support date format constants, like "DATE_RSS", "DATE_RFC822" and so on (see http://lv.php.net/manual/en/class.datetime.php#datetime.constants.types). For example this will allow us to write such code in template:

<item>
<title><inp2:Field name="Title"/></title>
<pubDate><inp2:Field name="CreatedOn" format="DATE_RSS"/>
</item>
Additional Information In kDateFormatter::Format method before doing sprintf check if defined($format) is true. If it is, then use constant($format).



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker