Stats: Display snapshot times as dates for readability.

Eventually should be charts, etc. In the meantime, though, dates are more useful than timestamps.
This commit is contained in:
Ian Dunn 2020-11-10 08:34:59 -08:00
parent d835246f3f
commit 7464a9e585
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB

View file

@ -41,7 +41,7 @@ how to visualize teams? maybe a dropdown w/ each team, so not a huge long list o
<?php foreach ( $values as $timestamp => $value ) : ?>
<li>
<?php echo esc_html( $timestamp ); ?> -
<?php echo esc_html( date( 'Y-m-d', $timestamp ) ); ?> -
<?php if ( is_array( $value ) ) : ?>
<?php echo esc_html( print_r( $value, true ) ); ?>