My roommate closed her books when it was nearly midnight. ( simp

My roommate closed her books when it was nearly midnight. ( simple sentence )
【正确答案】:My roommate closed her books nearly at midnight.