struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4705) Add support for long type to <s:date> tag
Date Tue, 01 Nov 2016 17:36:58 GMT

     [ https://issues.apache.org/jira/browse/WW-4705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksandr Mashchenko resolved WW-4705.
--------------------------------------
    Resolution: Fixed

> Add support for long type to <s:date> tag
> -----------------------------------------
>
>                 Key: WW-4705
>                 URL: https://issues.apache.org/jira/browse/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.
> E.g.
> {code:xml}
> <s:date name="timestamp_of_type_long" format="HH:mm"/>
> {code}
> and
> {code:xml}
> <s:set var="d" value="date.time + (3 * 60 * 1000)"/>
> <s:date name="#d" format="HH:mm"/>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message