ICU-96 fixed an Arabic locale crash

X-SVN-Rev: 4234
This commit is contained in:
Vladimir Weinstein 2001-03-21 20:06:21 +00:00
parent ef97b534cd
commit 4df17d9d75

View file

@ -273,7 +273,7 @@ void Test4060212()
log_verbose( "dateString= %s Using yyyy-DDD.hh:mm:ss\n", austrdup(dateString) );
status = U_ZERO_ERROR;
formatter = udat_openPattern(pattern, u_strlen(pattern), NULL, &status);
formatter = udat_openPattern(pattern, u_strlen(pattern), "en_US", &status);
pos=0;
myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status);