mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-03 00:06:46 +01:00
Fix Localized Months displaying in heatmap
This commit is contained in:
parent
9ebe4b55dd
commit
4ae057f626
@ -208,7 +208,7 @@ export default {
|
|||||||
const date = i === 0 ? this.firstWeekStart : this.$addDaysToDate(this.firstWeekStart, i)
|
const date = i === 0 ? this.firstWeekStart : this.$addDaysToDate(this.firstWeekStart, i)
|
||||||
const dateString = this.$formatJsDate(date, 'yyyy-MM-dd')
|
const dateString = this.$formatJsDate(date, 'yyyy-MM-dd')
|
||||||
const datePretty = this.$formatJsDate(date, 'MMM d, yyyy')
|
const datePretty = this.$formatJsDate(date, 'MMM d, yyyy')
|
||||||
const monthString = this.$formatJsDate(date, 'MMM')
|
const monthString = this.$strings[`Month${this.$formatJsDate(date, 'MMM')}`]
|
||||||
const value = this.daysListening[dateString] || 0
|
const value = this.daysListening[dateString] || 0
|
||||||
const x = col * 13
|
const x = col * 13
|
||||||
const y = row * 13
|
const y = row * 13
|
||||||
@ -270,4 +270,4 @@ export default {
|
|||||||
},
|
},
|
||||||
beforeDestroy() {}
|
beforeDestroy() {}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user