clock2/clockengines/clockserver/server/src/clockserverimpl.cpp
branchRCL_3
changeset 21 9711e452b5e9
parent 20 21239b3bcd78
child 67 1539a383d7b6
equal deleted inserted replaced
20:21239b3bcd78 21:9711e452b5e9
   804 			// Setting the attributes to null again as we dont trust on
   804 			// Setting the attributes to null again as we dont trust on
   805 			// previous NITZ data recevied by device.If device receive
   805 			// previous NITZ data recevied by device.If device receive
   806 			// NITZ data again attributes would get filled with actual value.
   806 			// NITZ data again attributes would get filled with actual value.
   807 			// Has been kept outside because this statement is valid for
   807 			// Has been kept outside because this statement is valid for
   808 			// first boot also.
   808 			// first boot also.
   809 			if( iTimeAttributes )
   809 			if( iTimeAttributes && staleBoot )
   810 			{
   810 			{
   811 				iTimeAttributes->iDstOffset = TTimeIntervalMinutes( 0 );
   811 				iTimeAttributes->iDstOffset = TTimeIntervalMinutes( 0 );
   812 				iTimeAttributes->iTimeZoneOffset =  TTimeIntervalMinutes( 0 );
   812 				iTimeAttributes->iTimeZoneOffset =  TTimeIntervalMinutes( 0 );
   813 				TTime invalidTime( 0 );
   813 				TTime invalidTime( 0 );
   814 				iTimeAttributes->iUtcDateTime = invalidTime.DateTime();	
   814 				iTimeAttributes->iUtcDateTime = invalidTime.DateTime();