* we need to initialize ICU's default timezone, as the date formatting
implementation in BLocale assumes this matches the system's timezone This little bugger should fix #6277, #6370 and #6396. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38158 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -572,6 +572,11 @@ RosterData::_SetDefaultTimeZone(const BTimeZone& newZone)
|
|||||||
{
|
{
|
||||||
fDefaultTimeZone = newZone;
|
fDefaultTimeZone = newZone;
|
||||||
|
|
||||||
|
TimeZone* timeZone = TimeZone::createTimeZone(newZone.Code().String());
|
||||||
|
if (timeZone == NULL)
|
||||||
|
return B_ERROR;
|
||||||
|
TimeZone::adoptDefault(timeZone);
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user