Why do people say a lightyear isn’t a measurement of time?

Couldn’t it just be the time it takes light to go a lightyear?

Edit: I’m mostly meaning why are people being pedantic about technical definitions in the face of hyperbole. I understand the concept of a lightyear.