Add:Listening sessions calendar heat map

This commit is contained in:
advplyr 2022-05-11 16:27:40 -05:00
parent 621444114f
commit 5a6867e98a
5 changed files with 300 additions and 7 deletions

View file

@ -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) {