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

Justin Bertram updated ARTEMIS-5769:
------------------------------------
    Description: 
Currently many of the fields requested by the web console that contain 
date-time info are formatted on the broker using:
{code:java}
new Date(long).toString(){code}
This results in output like this:
{noformat}
Wed Dec 31 18:00:00 CST 1969{noformat}
This results in unnecessary garbage in the JVM heap and uses an implicit 
format. It would be better to use an explicit format and avoid any garbage in 
the heap.

  was:
Currently many of the fields requested by the web console that contain 
date-time info are formatted on the broker using:
{java}
new Date(long).toString(){java}
This results in output like this:
{noformat}
Wed Dec 31 18:00:00 CST 1969{noformat}
This results in unnecessary garbage in the JVM heap and uses an implicit 
format. It would be better to use an explicit format and avoid any garbage in 
the heap.


> Standardize date-time strings for web console
> ---------------------------------------------
>
>                 Key: ARTEMIS-5769
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5769
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>
> Currently many of the fields requested by the web console that contain 
> date-time info are formatted on the broker using:
> {code:java}
> new Date(long).toString(){code}
> This results in output like this:
> {noformat}
> Wed Dec 31 18:00:00 CST 1969{noformat}
> This results in unnecessary garbage in the JVM heap and uses an implicit 
> format. It would be better to use an explicit format and avoid any garbage in 
> the heap.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to