Announcement

Collapse
No announcement yet.

ConnectionLogs API in 24 hour format

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ConnectionLogs API in 24 hour format

    Hello!

    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?

    Code:
    <linked-list>
        <com.mirth.connect.plugins.dashboardstatus.ConnectionLogItem>
            <logId>98883</logId>
            <channelId>5106963d-ac46-4f94-a422-d89a83b10fbe</channelId>
            <metadataId>0</metadataId>
            <dateAdded>2019-08-21 03:00:02.988</dateAdded>
            <channelName>ChannelName</channelName>
            <connectorType>Source: JavaScript Reader  (RAW -&gt; JSON)</connectorType>
            <eventState>Idle</eventState>
            <information></information>
        </com.mirth.connect.plugins.dashboardstatus.ConnectionLogItem>
    ...
    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.

    Software:
    Mirth 3.8.0
    OpenJDK 11.0.4

    Any ideas?

  • #2
    http://www.mirthcorp.com/community/i...wse/MIRTH-4248

    Scheduled to be fixed in 3.9

    Comment

    Working...
    X