hgweb: eliminate extra complexity in process_dates definition
There was an extra anonymous outer function, called immediately. It is removed
in this patch.
....................----------------------------------------------------------------------Ran 20 tests in 0.000sOK