Fixed attachment date for just-uploaded files