Revset 1
hg log -r "first(sort(date('Nov 2022'),date))"
Result
changeset: 2180:f6cfbc5fcd0c
...
date: Wed Nov 02 09:47:13 2022 +0100
Revset 2
The same (seems so) logic, less code
hg log -r "first(date('Nov 2022'))"
Result
changeset: 2177:29d1515aac3b
...
date: Fri Nov 04 09:51:03 2022 +0100
The difference, as it turned out, is in taking into account (revset2) or ignoring (revset1) the topology
2177 is earlier in history, but later in timestamp
BEWARE, and select needed logic according to task