Skip to content

Commit a5916c2

Browse files
authored
Switch "Daily" RRD charts to 24hr format (hestiacp#4141)
1 parent 0c847ec commit a5916c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/src/rrdCharts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function prepareChartData(rrdData, period) {
5757

5858
function formatLabel(date, period) {
5959
const options = {
60-
daily: { hour: '2-digit', minute: '2-digit' },
60+
daily: { hour: '2-digit', minute: '2-digit', hour12: false },
6161
weekly: { weekday: 'short', day: 'numeric' },
6262
monthly: { month: 'short', day: 'numeric' },
6363
yearly: { month: 'long' },

0 commit comments

Comments
 (0)