Support custom timestamp format