tmpHeight = GetHeightForStringArea(groupText, itemWidth, fontSize);
itemHeight += tmpHeight;
- pDateFormatter->ApplyPattern("EEE, MMM dd, yyyy");
+ String localPattern;
+ if (SettingInfo::GetValue(L"http://tizen.org/setting/locale.date.format",localPattern) == E_SUCCESS)
+ {
+ pDateFormatter->ApplyPattern(localPattern);
+ }
+ else
+ {
+ pDateFormatter->ApplyPattern("EEE, MMM dd, yyyy");
+ }
pDateFormatter->Format(dateTime, formattedString);
formattedString = dateText + L" : " + formattedString;
groupText.Insert(L"\n" + formattedString, groupText.GetLength());
tempHeight = GetLineheight(groupText, labelWidth, fontSize, lineCount, lineHeight);
itemHeight += tempHeight;
- pDateFormatter->ApplyPattern("EEE, MMM dd, yyyy");
+ String localPattern;
+ if (SettingInfo::GetValue(L"http://tizen.org/setting/locale.date.format",localPattern) == E_SUCCESS)
+ {
+ pDateFormatter->ApplyPattern(localPattern);
+ }
+ else
+ {
+ pDateFormatter->ApplyPattern("EEE, MMM dd, yyyy");
+ }
pDateFormatter->Format(dateTime, formattedString);
formattedString = dateText + L" : " + formattedString;
groupText.Insert(L"\n" + formattedString, groupText.GetLength());