Private GIT

Skip to content
Snippets Groups Projects
Commit 6122fda1 authored by Stephane Chapron's avatar Stephane Chapron Committed by sc979
Browse files

feat(date): Formatting date in Monitoring StatusDetails Resource acknoledged popIn

parent 11a9b699
Branches
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ if (isset($res)) {
$xml->startElement('ack');
$xml->writeAttribute('class', $rowClass);
$xml->writeElement('author', $row['author']);
$xml->writeElement('entrytime', $centreonGMT->getDate('Y/m/d H:i:s', $row['entry_time']));
$xml->writeElement('entrytime', $row['entry_time']);
$xml->writeElement('comment', $row['comment_data']);
$xml->writeElement('persistent', $row['persistent_comment'] ? _('Yes') : _('No'));
$xml->writeElement('sticky', $row['sticky'] ? _('Yes') : _('No'));
......
......@@ -13,7 +13,7 @@
<xsl:element name='tr'>
<xsl:attribute name='class'><xsl:value-of select="@class"/></xsl:attribute>
<td style="padding: 4px;"><xsl:value-of select="author"/></td>
<td style="padding: 4px;"><xsl:value-of select="entrytime"/></td>
<td style="padding: 4px;" class="isTimestamp"><xsl:value-of select="entrytime"/></td>
<td style="padding: 4px;"><xsl:value-of select="persistent"/></td>
<td style="padding: 4px;"><xsl:value-of select="sticky"/></td>
<td style="padding: 4px;"><xsl:value-of select="comment"/></td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment