Fix dashboard usage history off-by-one labels (#1431)

Fixes #1430 

Uses a date squarely in the middle of the month to avoid timezone
differences from displaying the previous month's name for monthly usage
and execution time data
This commit is contained in:
Tessa Walsh 2023-12-07 16:16:58 -05:00 committed by GitHub
parent 8d6375c654
commit a422aa7538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -778,7 +778,7 @@ export class Dashboard extends LiteElement {
const tableRows = [
html`
<sl-format-date
date="${mY}-01T00:00:00.000Z"
date="${mY}-15T00:00:00.000Z"
timeZone="utc"
month="long"
year="numeric"