handle '-' and '/' in raw date