Add support for changing timestamp format