added preliminary support for timefmt