mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 14:05:32 +00:00
ICU-770 Use the invariant converter
X-SVN-Rev: 5677
This commit is contained in:
parent
5ff4979a62
commit
28772efa7b
1 changed files with 1 additions and 1 deletions
|
@ -712,7 +712,7 @@ int32_t Calendar::stringToDayNumber(const UnicodeString& string, UErrorCode& sta
|
|||
}
|
||||
char *end;
|
||||
|
||||
string.extract(0, len, number);
|
||||
string.extract(0, len, number, "");
|
||||
number[len] = 0;
|
||||
int32_t value = (int32_t)strtol(number, &end, 10); // Radix 10
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue