It was right/shortly after the divorce so I wasn't myself at the time, but that's not an excuse to behave like that.
If we're talking a few weeks after the divorce, would you use "right" or "shortly"?
If it happened five months ago, is it natural to say "at the time"?
Is the whole statement natural?
Thank you.