common: Make CommitDate Unix epoch, handle legacy