emoncms/emoncms — pull request #158 by xtr3me (2014-03-19 08:29:41+00:00)
Title: Fix power_to_kwhd

This pull request fixes 2 bugs in the power_to_kwhd function.
- When the new day arived the counter didn't start at zero again, causing the graph to rise forever.
- The new day didn't start at 00:00 but started much earlier