Input (grade 8): Decades contain no apostrophe (, not); the two-digit form is used only where the century is clear (or).
Output (grade 5): Decades contain no apostrophe ("the 1980s", not "the 1980's"). The two-digit form is used only where the century is clear ("the '80s" or "the 80s").