mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-05 15:37:06 +02:00
🎨Add month+date indication to the stats graph to avoid confusion when there are days without visits
This commit is contained in:
@@ -125,8 +125,8 @@ class Popularity
|
||||
|
||||
foreach ($chart_data as $date => $count) {
|
||||
$labels[] = Grav::instance()['grav']['admin']->translate([
|
||||
'PLUGIN_ADMIN.' . strtoupper(date('D', strtotime($date)))
|
||||
]);
|
||||
'PLUGIN_ADMIN.' . strtoupper(date('D', strtotime($date)))]) .
|
||||
'<br>' . date('M d', strtotime($date));
|
||||
$data[] = $count;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user