Skip to content

Commit b4e2fad

Browse files
committed
Better date format for harvest metrics
1 parent adf0035 commit b4e2fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roots-nextdatagov/templates/content-harvest-metrics.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<strong>Total datasets</strong> <span><?php echo $harvest->total_datasets ?></span></br >
6767
<strong>Url</strong><span> <a href="<?php echo $harvest->url ?>" target="_blank"><?php echo $harvest->url ?></a></span><br/>
6868
<br/><em style="font-weight: bold;">Latest Harvest Job</em><br/>
69-
<strong>Run on</strong><span><?php echo $harvest->gather_finished ?></span><br/>
69+
<strong>Run on</strong><span><?php echo date("l, d-M-Y H:i:s T", strtotime('$harvest->gather_finished' . ' UTC') ?></span><br/>
7070
<?php if ($harvest->errored): ?>
7171
<strong>Errors</strong> <?php echo $harvest->errored ?><br/>
7272
<?php endif; ?>

0 commit comments

Comments
 (0)