Update AppImage

This commit is contained in:
MacRimi
2025-10-24 19:30:10 +02:00
parent ddca96a60e
commit e9791984ee
2 changed files with 9 additions and 0 deletions

View File

@@ -100,6 +100,12 @@ export function NetworkTrafficChart({ timeframe, onTotalsCalculated }: NetworkTr
hour: "2-digit",
hour12: false,
})
} else if (timeframe === "year") {
timeLabel = date.toLocaleString("en-US", {
month: "short",
day: "numeric",
year: "numeric",
})
} else {
timeLabel = date.toLocaleString("en-US", {
month: "short",

View File

@@ -470,6 +470,8 @@ export function SystemOverview() {
return "7d"
case "month":
return "30d"
case "year":
return "1y"
default:
return timeframe
}
@@ -657,6 +659,7 @@ export function SystemOverview() {
<SelectItem value="day">24 Hours</SelectItem>
<SelectItem value="week">7 Days</SelectItem>
<SelectItem value="month">30 Days</SelectItem>
<SelectItem value="year">1 Year</SelectItem>
</SelectContent>
</Select>
</CardTitle>