Simplify the way the fancy date is calculated. Now every date between today 0…

Authored by ikloecker on Apr 4 2009, 9:20 AM.

Description

Simplify the way the fancy date is calculated. Now every date between today 0:00 and today 23:59:59 is shown as "Today <time>". In particular, this fixes the (unreported) bug in KMail that for newly arrived messages (more precisely: messages with a date that is more than 1 hour later than the time KMail was started) the date was not shown as "Today <time>". Moreover, now the fancy date is created for the last 7 days instead of just the last 6 days.

svn path=/trunk/KDE/kdepimlibs/; revision=949005

Details

Committed
ikloeckerApr 4 2009, 9:20 AM
Parents
R172:ce6d9234292f: Skeleton code for the mbox resource.
Branches
Unknown
Tags
Unknown