loggingservices/eventlogger/LogCli/src/LogCliServerShared.cpp
branchRCL_3
changeset 10 31a8f755b7fe
parent 0 08ec8eefde2f
equal deleted inserted replaced
9:667e88a979d7 10:31a8f755b7fe
   248 /**  Retrieves appropriate date format string for the current locale.
   248 /**  Retrieves appropriate date format string for the current locale.
   249 
   249 
   250 @return    Format string for this locale. */
   250 @return    Format string for this locale. */
   251 EXPORT_C const TDesC& LogUtils::DateFormatForLocale()
   251 EXPORT_C const TDesC& LogUtils::DateFormatForLocale()
   252 	{
   252 	{
   253 	_LIT(KSQLDateFormatColon,"%D%*M%Y%1 %2 %3 %H:%T:%S"); 
   253     _LIT(KSQLDateFormatColon,"%D%*M%Y%1 %2 %3 %H:%T:%S%.%C"); 
   254 	_LIT(KSQLDateFormatDot,"%D%*M%Y%1 %2 %3 %H.%T.%S"); 
   254     _LIT(KSQLDateFormatDot,"%D%*M%Y%1 %2 %3 %H.%T.%S%.%C");
   255 
   255 
   256 	TLocale current; 
   256 	TLocale current; 
   257 	TBool dateSeparatorIsColon=EFalse;
   257 	TBool dateSeparatorIsColon=EFalse;
   258 	for (TInt i=0; i<4; i++)
   258 	for (TInt i=0; i<4; i++)
   259 		{
   259 		{