Francois Gouget : winetest/build-index: Factorize the Git commit info and date formatting code.