modify locale issue in DateConverter.convert()