simplified the detection of downcasing dates