Comment on attachment 8337339
fix bucket groups to be based off of a calendar week concept

Sorry for the delay. The code seems reasonable but this needs to have
ui-review before I can review it properly.

>+    // TODO - in the calculation for thisWeek, the + 0 should be based of off
>+    // the localization for first day of calendar
If only it were that easy...

As a side note I'd like to compare to Firefox's History sidebar which uses the 
following groupings:
> Today
> Yesterday
> Last 7 days
> This month (if today is the 8th or later)
> 5 entries, one for each previous month
> Older than 6 months

Out of interest, Outlook seems to be use the following groupings:
> Today
> Yesterday
> 5 entries, one for each previous day
> Last Week (7-13 days ago)
> Two Weeks Ago (14-20 days ago)
> Three Weeks Ago (21-27 days ago)
> Earlier This Month
> Last Month
> Older
What I don't know is whether these groups are based on the day of the week or 
fixed numbers of days.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/237341

Title:
  mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in “thunderbird” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: mozilla-thunderbird

  Hi,

  Thunderbird version 2.0.0.14 (20080502) 
  Folowing this menus (Translating from my menus localiced in ES_es)
  View => Order => Desc.
  View => Order => Group

  Today is wensday 04/jun/2008, and monday 04/jun/2008 appears in last
  week.

  ProblemType: Bug
  Architecture: i386
  Date: Wed Jun  4 14:46:46 2008
  Dependencies:
   
  DistroRelease: Ubuntu 7.10
  NonfreeKernelModules: vmnet vmmon
  Package: mozilla-thunderbird None
  PackageArchitecture: all
  SourcePackage: thunderbird
  Uname: Linux Pesc11-128 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 
i686 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/237341/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to