wikiparse: simplify datetime handling