mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-06 15:06:30 +01:00
Add:Listening sessions calendar heat map
This commit is contained in:
1 parent
621444114f
commit
5a6867e98a
5 files changed
+300
-7
No files matched your search
@@ -23,6 +23,11 @@ Vue.prototype.$addDaysToToday = (daysToAdd) => {
|
||||
if (!date || !isDate(date)) return null
|
||||
return date
|
||||
}
|
||||
Vue.prototype.$addDaysToDate = (jsdate, daysToAdd) => {
|
||||
var date = addDays(jsdate, daysToAdd)
|
||||
if (!date || !isDate(date)) return null
|
||||
return date
|
||||
}
|
||||
|
||||
Vue.prototype.$bytesPretty = (bytes, decimals = 2) => {
|
||||
if (isNaN(bytes) || bytes == 0) {
|
||||
|
||||
Reference in new issue
Block a user