Fix vote by problem and make time to be local on interface.
This fixes #7 and fixes #12