~ubuntu-branches/ubuntu/quantal/kdepim/quantal

« back to all changes in this revision

Viewing changes to mobile/mail/mailthreadgroupercomparator.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:51 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: package-import@ubuntu.com-20111215141751-bmhdpiwl23wd9w26
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
      if ( yearNameHash.contains( dDate.year() ) ) {
254
254
        yearName = yearNameHash.value( dDate.year() );
255
255
      } else {
256
 
        yearName = calendar->yearString( dDate );
 
256
        yearName = calendar->formatDate( dDate, KLocale::Year, KLocale::LongNumber );
257
257
        yearNameHash.insert( dDate.year(), yearName );
258
258
      }
259
259
      return i18nc( "Message Aggregation Group Header: Month name and Year number", "%1 %2", calendar->monthName( dDate ), yearName );