Two weeks notice or two-week-notice?

I know nouns used as adjectives should be singular
5-year-old boy
10-ton-truck
(And not yearS/tonS).

So why sometimes I find constructions like two weekS notice?
What if I said two-week-notice, would there be any difference?
8 answers 8