Support multiple time & distance formats, closes #14.