Cleaner date formats

Today Ashok committed a patch on the Spicebird trunk that adds support for short-date formats in the e-mail listing.  The Mozilla platform does have API and necessary enumerations to request short date formats, but underneath the implementation was missing and all it returned was the same long date format which looked like “Thursday 12 June 2008 08:51 PM”.

That was what we used in Spicebird earlier.  Now, with the landing of this patch we have many different ways of showing the date

  • Just the time for today’s messages
  • Yesterday and the time for yesterday’s messages
  • Mon…Sat and the time for other messages of this calendar week
  • Day of month and the month for messages in this calendar year
  • Day of month, month and the year for rest of the messages!

The formats are ofcourse localizable and the corresponding upstream bug is #455498.

Tagged , |. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared.