date patterns exception