Skip to content

Commit cb800e4

Browse files
authored
Add modifier for ct to euro
1 parent b34fd8c commit cb800e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PowerPrice/module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ private function FetchFromTibber($postalCode)
264264
$result[] = [
265265
'start' => mktime($hour['hour'], 0, 0, intval($date[1]), intval($date[2]), intval($date[0])),
266266
'end' => mktime($hour['hour'] + 1, 0, 0, intval($date[1]), intval($date[2]), intval($date[0])),
267-
'price' => $hour['priceIncludingVat'],
267+
'price' => $hour['priceIncludingVat'] * 100,
268268
];
269269
}
270270
return json_encode($result);

0 commit comments

Comments
 (0)