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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.5
    • Fix Version/s: 2.5.8
    • Component/s: Core Tags
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: