When this happened to me I recovered my senses within about two weeks, but coffee smelt like a combo of burning plastic and rotting flesh for several weeks after. To this day (six months later), certain things smell different than they did before: low tide, poop, some foods when heated. [edit: and they all smell like the same thing]
My wife lost her sense of smell and taste, likely from COVID, back in March and has not yet recovered it. She has recovered "impressions" -- things smell or taste bad or good, but can't distinguish an actual identifiable odor.
Edit: nm, I see it was answered: https://news.ycombinator.com/item?id=24665323