If someone asked you to prepare UML diagrams and that someone is paying your salary, then it is not really a waste of your time. It may or may not be a waste of that someone's time.
If that someone is planning to understand your project by reading your UML diagrams, then it probably is not a waste of their time.