harvesterplugins/notes/src/notesplugin.cpp
changeset 13 0a2ec6860a93
parent 9 4a2987baf8f7
child 15 df6898e696c6
--- a/harvesterplugins/notes/src/notesplugin.cpp	Tue Jun 29 22:28:37 2010 +0530
+++ b/harvesterplugins/notes/src/notesplugin.cpp	Mon Jul 12 00:27:06 2010 +0530
@@ -346,11 +346,11 @@
 		index_item->AddFieldL(KNpdMemo, entry->DescriptionL());
 		// Add Date fields
 		TBuf<30> dateString;
-		TDateTime datetime = entry->EndTimeL().TimeUtcL().DateTime();		
+		TDateTime datetime = entry->EndTimeL().TimeLocalL().DateTime();		
 		dateString.Format( KNotesTimeFormat, datetime.Year(),
                                      TInt(datetime.Month()+ 1),
                                      datetime.Day() + 1,
-                                     datetime.Hour()+ 1,
+                                     datetime.Hour(),
                                      datetime.Minute());
 		 
 		index_item->AddFieldL(KNpdUpdateTime, dateString, CDocumentField::EStoreYes | CDocumentField::EIndexUnTokenized);