Add file timeseries chart

This commit is contained in:
Pixeldrain-Server committed 2023-05-25 23:07:17 +02:00
1 parent b29a1b2a97
commit 976a37f299
6 files changed
+204 -33

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ let chart_timespans = [
]
let update_chart = (timespan, interval) => {
// If the timespan is 0 we calculate the maximum timespan based on the age
// If the timespan is 0 we calculate the maximum timespan based on the age
// of the file
if (timespan === 0) {
let minutes_since_upload = (new Date().getTime() - Date.parse(file.date_upload)) / 1000 / 60