struts-issues mailing list archives

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

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

Hudson commented on WW-4705:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-JDK7-master #545 (See [https://builds.apache.org/job/Struts-JDK7-master/545/])
WW-4705 - Add support for long type to <s:date> tag (amashchenko: rev 8fe2bb8317088f6a24aea3a03f19a9f257cbec09)
* (edit) core/src/main/java/org/apache/struts2/components/Date.java
* (edit) core/src/test/java/org/apache/struts2/views/jsp/ui/DateTagTest.java


> 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