diff -r 0b38fc5b94c6 -r 2c54b51f39c4 clock/clockmw/clocktimezone/src/timezoneclient.cpp --- a/clock/clockmw/clocktimezone/src/timezoneclient.cpp Mon Jul 12 02:32:28 2010 +0530 +++ b/clock/clockmw/clocktimezone/src/timezoneclient.cpp Mon Jul 26 13:54:38 2010 +0530 @@ -68,6 +68,7 @@ if (mReferenceCount) { delete mTimezoneClient; mTimezoneClient = 0; + mReferenceCount = false; } } @@ -466,6 +467,17 @@ tzHandle.GetOffsetsForTimeZoneIdsL(idArray, offsetArray); int stdOffset = offsetArray[0]; + + if (isDSTOnL(timezoneId)) { + CTzId* tzId = CTzId::NewL( timezoneId ); + CleanupStack::PushL( tzId ); + + // Get the offset with DST enabled. + getUtcDstOffsetL(stdOffset, *tzId); + + CleanupStack::PopAndDestroy(tzId); + + } offsetArray.Close(); idArray.Close();