aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-time.js
Commit message (Collapse)AuthorAgeLines
* front: A few more time travel tweaksKristian Lyngstol2016-05-28-1/+1
| | | | | | | I can never get it all in a single commit. But I compensate by some times putting multiple unrelated things in the same commit.
* Fix numerous time-travel issues in front and APIKristian Lyngstol2016-05-28-0/+150
Fixes #69 #11 #5 Introduces nmsTime which unifies the time travel code a bit. It still needs some work, but this is much better. All conversion is now done by native JavaScript methods, freeing us from the hell that is parsing it ourself. One thing should be added: The backend should discard any now=values that are not 5-minute intervals. We don't want to kill the cache and the database by extension. Still need to re-implement the "replay event" shorthand, but that ties in to #54