Support both , and . for hour values.

Closes #15.