I was looking over decades, etc., in Russian, and came up with the following. Is this correct, or are there exceptions I'm not aware of?

1. Это было в десятых годах.
2. Это было в двадцатых...