Allow timestamp format to be configurable