From matplotlib.dates import DateFormatter: deprecated

Hello everyone!
I have a noob question!
I found myself maintaining a project and I have a problem with matplotlib.
From version 3.3.3 DateFromatter is deprecated.“from matplotlib.dates import DateFormatter”
I didn’t find what’s the substitute for that if there is!
Any suggestion?

DateFormatter is not deprecated in any version of Matplotlib that I know of.

DateIndexFormatter was deprecated, but not DateFormatter: