hgweb: eliminate extra complexity in process_dates definition
There was an extra anonymous outer function, called immediately. It is removed
in this patch.
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null