control: reassign -1 src:icu
Here is a small example that reproduces this bug in icu independently
of chromium. If the locale in the file is changed to anything other
than pt-PT, 3 characters are output as expected, but not with pt-PT.
Best wishes,
Mike
#include <iostream>
#include <unicode/smpdtfmt.h>
int main() {
UErrorCode status = U_ZERO_ERROR;
Locale locale("pt","PT");
UnicodeString format("ccc");
SimpleDateFormat dateformat(format,locale,status);
UnicodeString day;
UDate date = Calendar::getNow();
dateformat.format(date,day,status);
std::string str;
day.toUTF8String(str);
std::cout << str << "\n";
return 0;
}