equal
deleted
inserted
replaced
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 { |