web stats
Mirth Community - View Single Post - ConnectionLogs API in 24 hour format
View Single Post
Old 08-21-2019, 05:19 AM
Joachim Joachim is offline
What's HL7?
Join Date: Nov 2015
Posts: 3
Joachim is on a distinguished road
Default ConnectionLogs API in 24 hour format


When using the API and getting connection logs.

GET /extensions/dashboardstatus/connectionLogs

Then, how can I set so "dateAdded" field is using 24 hour format?

        <dateAdded>2019-08-21 03:00:02.988</dateAdded>
        <connectorType>Source: JavaScript Reader  (RAW -&gt; JSON)</connectorType>
That date should now be 15:00:02.988 instead of 03:00:02.988. Otherwise I cant distinguish if it was AM or PM.

Mirth 3.8.0
OpenJDK 11.0.4

Any ideas?
Reply With Quote