Date extraction bad in certain cases (rev. 3)

Signed-off-by: nixnodes <code@eth.si>