I told him that I will be there at three o'clock on Friday.
I told him that I would be there at three o'clock on Friday.
I am not sure which sentence is correct in this context: I said this statement just one hour ago. I mean the upcoming Friday. So this is not the case of the future in the past. Is the change of "will" into "would" applied in reported speech only when the future in the past occurs?