diff options
Diffstat (limited to 'src/modules/utils')
-rw-r--r-- | src/modules/utils/timezones.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/utils/timezones.cpp b/src/modules/utils/timezones.cpp index 81c883dd13..b5a2087e32 100644 --- a/src/modules/utils/timezones.cpp +++ b/src/modules/utils/timezones.cpp @@ -248,7 +248,7 @@ static void timeapiSetInfoByContact(HANDLE hContact, HANDLE hTZ) if (tz)
{
- DBWriteContactSettingTString(hContact, "UserInfo", "TzName", tz->tszName);
+ db_set_ts(hContact, "UserInfo", "TzName", tz->tszName);
DBWriteContactSettingByte(hContact, "UserInfo", "Timezone", (char)((tz->tzi.Bias + tz->tzi.StandardBias) / 30));
}
else
|