You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/01 17:03:59 UTC

[jira] [Commented] (WW-4705) Add support for long type to tag

    [ https://issues.apache.org/jira/browse/WW-4705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15626009#comment-15626009 ] 

ASF subversion and git services commented on WW-4705:
-----------------------------------------------------

Commit 8fe2bb8317088f6a24aea3a03f19a9f257cbec09 in struts's branch refs/heads/master from [~aleksandr-m]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=8fe2bb8 ]

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


> 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)