请问,It is a waste of time 后该用to do 还是 doing

问题描述:

请问,It is a waste of time 后该用to do 还是 doing
用to do sth是错的吗?可否提供权威资料例证?
二位说的我在辞典上找不到啊。我找到的只有接to do的。

It is a waste of time doing sth.
用to do sth.是错的.
如:It's a waste of time trying to talk to her when she is in a bad mood.