For decades, Americans have rallied behind their president in time of crisis, so it’s no mystery that President Trump’s approval ratings are up. Except, that is, to anti-Trump obsessives — including much of the media.

“Who Are the Voters Behind Trump’s Higher Approval Rating?” a New York Times headline asked last week. That is: Who could possibly think he’s doing a good job — when no one at the Times does?

The paper notes that Trump’s positives, at 49 percent, are “as high as ever,” with independents and even some Democrats driving the numbers up. And that comes “despite what most agree to be his slow response” (“most,” again, meaning most at the Times) as well as his ideas that “contradict” experts and his outright “falsehoods.”

Memo to the Gray Lady: Those polls show that most Americans don’t think the president’s response has been horrific. (Didn’t the Times vow to pay more attention to middle America after the 2016 election?) They know the virus caught the entire world by surprise and is hugely difficult to tame. They appreciate his efforts to deal with it.

And a good chunk of them like his way of talking, even if it drives newspeople up the wall.

Yet much of the media can’t let go of their pre-crisis agenda — including their hatred of the prez, which persists unabated (blatantly on display in press briefings) even amid this national emergency.

The Times wasn’t alone in its shock at the public response: MSNBC’s Andrea Mitchell was utterly flabbergasted by polls showing his approval ratings among Democrats and independents “skyrocketing” to 60 percent for his handling of the crisis.

“No matter what he says, people seem to be seeing him as a leader,” she gasped. (Oh, the horrors!) Her guest, Obama adviser Jim Messina, simply dismissed the numbers, advising: “I would reject all of the polls” as they’re sure to drop soon.

Maybe they will: Heck, British voters opted to oust Winston Churchill as prime minister in 1945 despite an 83 percent approval rating just two months earlier for his wartime leadership.

Then again, Joe Biden isn’t inspiring anyone these days. Though he’s surely getting plenty of rest, his comments from his basement refuge have been as addled as ever.

Meanwhile, Americans will naturally keep hoping Trump gets the pandemic right. Who really cares if the media never give him credit for it?