Is the sentence right or wrong?
John: "I'll go to bed late."
John said that he will go to bed late.
We use "would" as the past of "will" in the reported speech.
Examples
Anne says she will come → Anne said she would come
I promise I will write → He promised he would write
They are sure they will be on time → They were sure they would be on time