clip datestr quickfix