naive absolute date parsing implementation