Here it only sounds OK if you make the adjective stronger ("this was the nicest evening", though you'd probably avoid "nice" in this case and go with "best", "most amazing"...), or drop the adjective altogether ("this was the evening").
So nuance is that you might have many nice evenings, with this being one of — but what if you do not, and all are actually terrible except for this one? I guess with proper pronounciation of "THE nice", it can still work (we already talked about nice evenings and not-nice ones, so it'd be "this was the nice one"), but it'd be pretty awkward.
Edit: Here's a frustrating HN thread where someone tried to claim it makes sense, but it turned out his argument hinged on "well obviously all native English speakers regularly go to some store, right?" Screw the homebound.
I think the usage falls into this group: "The first group consists of nouns which refer to shared knowledge of the situation or context...",
When you're talking to people you live with it is true that they know which store you are going to. Friends and neighbours would have also have known up to fairly recently, when people still mostly walked for groceries and such to the few small stores nearby and made friends with people who lived close.
So, I'd say it's a bit of a colloquial hold over from walking times and construction taking a listener into confidence.
But again, people use this even when I have no reason to know which store they went to.
I’m not necessarily saying they should stop doing this, but it’s clearly not the usual kind of definiteness implied but the use of “the”.
A prescriptivist pedant might insist that this is incorrect, and they should instead say "I need to go to a store", but in my judgment as a native speaker, the version with "the" is more idiomatic, and the version with "a" sounds stilted.