Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4705

Add support for long type to <s:date> tag

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.5
    • 2.5.8
    • Core Tags
    • None

    Description

      It will allow to display timestamps of long type w/o converting them and
      to do some arithmetics on date on JSP w/o creating intermediate date object.

      E.g.

      <s:date name="timestamp_of_type_long" format="HH:mm"/>
      

      and

      <s:set var="d" value="date.time + (3 * 60 * 1000)"/>
      <s:date name="#d" format="HH:mm"/>
      

      Attachments

        Activity

          People

            aleksandr-m Aleksandr Mashchenko
            aleksandr-m Aleksandr Mashchenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: