make time formatting configurable
closes #569