Anders Melchiorsen 5357fc25d8 Rewrite _currentDate to work in all time zones (#266)
* Rewrite _currentDate to work in all time zones

The method toISOString() returns a timestamp in UTC. Thus, midnight in the CET
timezone (UTC+1) was converted into yesterday@2300 and then that date was used
as the current date.

This made the logbook and history start with yesterday's data, at least for
locations east of UTC.

The new version avoids this by using methods that work in local time.

* Remove an embarrassing amount of lint

* Rewrite to be more concise

Proposed by @armills.
2017-04-25 19:56:23 -07:00
2016-07-27 22:47:09 -07:00
2017-03-19 21:55:52 -07:00
2016-08-17 14:04:52 -07:00
2016-11-13 11:25:15 -08:00
2016-05-28 23:18:12 -07:00
2017-04-18 23:47:03 -07:00
2017-01-22 16:21:16 -08:00
2017-04-18 20:44:55 -07:00
2017-04-18 20:44:55 -07:00

Home Assistant Polymer Build Status

This is the repository for the official Home Assistant frontend. The frontend is built on top of the following technologies:

Screenshot of the frontend

View demo of the Polymer frontend
More information about Home Assistant
Frontend development instructions

License

Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.

Description
🍭 Polymer frontend for Home Assistant
Readme 144 MiB
Languages
TypeScript 93.4%
JavaScript 6.5%
Shell 0.1%