struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <>
Subject [jira] [Created] (WW-4705) Add support for long type to <s:date> tag
Date Mon, 31 Oct 2016 20:09:59 GMT
Aleksandr Mashchenko created WW-4705:

             Summary: Add support for long type to <s:date> tag
                 Key: WW-4705
             Project: Struts 2
          Issue Type: Improvement
          Components: Core Tags
    Affects Versions: 2.5.5
            Reporter: Aleksandr Mashchenko
            Assignee: Aleksandr Mashchenko
             Fix For: 2.5.6

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.


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


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

This message was sent by Atlassian JIRA

View raw message