Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-515

Make "kDateFormatter" support date format constants in "format" parameter

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.3-B1
    • Fix Version/s: 5.2.0-B1
    • Component/s: Data Management
    • Labels:
      None

      Description

      I propose we teach kDateFormatter class how to support date format constants, like "DATE_RSS", "DATE_RFC822" and so on (see [url]http://lv.php.net/manual/en/class.datetime.php#datetime.constants.types[/url]). 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>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: