He was not put in ‘prison’. He had not been sentenced. He faced maximum six months in jail.
So he probably has not been under incarceration in the meantime. OK, well, not sure you can pardon someone who has not yet been convicted. Maybe Trump jumped the gun on this one.