Sorry to hear that, and that it happened in such a miserable way.
As for the programming and experience thing, don't specify that you only got 2 months experience before stuck with the legacy crud. Just list the entire time you worked for the company and all the skills you used while you where there.
Jay