Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
unsync committed Jan 26, 2024
1 parent a160916 commit 5cb733b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/veolia.ts
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ export class VeoliaClient {
}

return soapBody.map((r: any) => {
const dateReleveLocal = dayjs(r.dateReleve)
const dateReleveLocal = dayjs(r.dateReleve).hour(0)
const dateReleveUTC = dateReleveLocal.add(dateReleveLocal.utcOffset(), 'minute').utc()
this.logger.info(`VeoliaClient > getEnergyData > ${dateReleveUTC.toISOString()}: ${r.consommation}`)
return {

0 comments on commit 5cb733b

Please sign in to comment.