Your landlord's an idiot.

But you should have specified the move out date instead of 30 days.

Anyway, if you don't count 12/1 then your 30 day notice ends on 12/31.

If you want a court fight...