When did someone knock at the door?当有人敲门时?

问题描述:

When did someone knock at the door?当有人敲门时?
Someone knocked at the door when I was having breakfast.当有人敲门时我正在吃早餐.
请帮我看看翻译错没有

When did someone knock at the door?什么时候有人敲门的?
Someone knocked at the door when I was having breakfast.当我正在吃早餐时有人敲门.