[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2018-11-21 Thread Paul White
Upstream bug closed "RESOLVED FIXED" on 2016-09-09
Display periods changed. "Last week" removed.
Fix targetted for Thunderbird 51
Tested ok using Ubuntu 18.04 and Thunderbird 60.2.1
Closing by marking "Fix released"


** Changed in: thunderbird (Ubuntu)
   Status: Triaged => Fix Released

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2016-09-09 Thread Bug Watch Updater
** Changed in: thunderbird
   Status: Confirmed => Fix Released

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2015-02-13 Thread Karl-rossing
What we are seeing with TB 31.4.0 is this:

Today is Friday but "Last week" starts 7 days ago. That label should be "This 
Week".
Today is Friday but "Last 2 week" starts 14 days ago. That label should be 
"Last Week".


Willing to test fix when a fix is available.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2014-05-15 Thread Zhangchaowang
Can this be pushed to upstream repository? I'm quite surprised to learn
that it has not been addressed for almost 5 years.


(In reply to Jim Porter (:squib) from comment #35)
> Comment on attachment 8355581
> lastWeek2.diff
> 
> r- for now since we want to use a pref to handle the start-of-week.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2014-01-21 Thread Jim
Yeah, let's do the pref. That should be a reasonable workaround, and
when bug 333938 is fixed, we can just switch over to that and everyone's
happy.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2014-01-21 Thread Jim
Comment on attachment 8355581
lastWeek2.diff

r- for now since we want to use a pref to handle the start-of-week.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2014-01-19 Thread Neal-o
This bug has stalled because, I seem not to be able to get any real direct 
help, without infinite referrals, for 333938.
So, I'll opt for and take a stab at moving the pref, and hopefully make some 
headway.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2014-01-19 Thread Jim
I think before we do much with this bug, we either need to fix bug
333938 or at least move the "calendar.week.start" pref to Thunderbird.
If we do the latter, we should write some migration code so that we copy
over the old pref value to the new pref.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2014-01-03 Thread Neal-o
Created attachment 8355581
lastWeek2.diff

fix bucket groups to be based off of a calendar week concept.
pull firstDayOfWeek bias from lightning prefs if available.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-12-01 Thread Neil-httl
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/237341

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-27 Thread Philipp-bugzilla
Indeed, there is bug 164495 for calendar. What you want to fix first is
bug 333938 though. This will allow Lightning/Thunderbird to access the
locale info. I'm not sure the first day of the week is available on all
platforms, but from skimming that bug it seems windows has an API call
for it and linux has nl_localeinfo. This could be available on mac too.

You can of course check if the Lightning pref exists and is set to ease
integration for Lightning. The better solution would be to default to
checking the OS and making the code extensible enough so that Lightning
can hook in and change the behavior. If you have time to do the
Lightning patch too that would be super :)

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-25 Thread Mkmelin+mozilla
(In reply to Jim Porter (:squib) from comment #26)
> It might be useful to add
> support to Gecko to pull this in from the OS; that could be useful for HTML5 
> forms as well.

Absolutely! It's increasingly annoying to get wrong start of week. Bug
164495 for calendar.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Neal-o
ha, that is funny!
I've been hunting through the UI and code base to find this info, and I 
literally just finished a build with preliminary support to pull in the 
calendar.week.start preference, after which I started it up to find a new email 
with your last comment.

I do think that getting this from the OS with and override from the app is 
correct.
To further complicate things, on OS X, I do believe it should be initially 
influenced by the Calendar app settings, then by thunderbird mechanisms.

Thanks for staying with me.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Neal-o
Comment on attachment 8337301
fix bucket groups to be based off of a calendar week concept

I'm attaching an updated patch to address review comments by :squib

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Jim
Oh, I should explain more about localization: you're not responsible for
updating any of the strings except for en-US. Dedicated localizers will
come in and update them for all the other locales. However, if we change
the meaning of any string in the code, we generally need to change the
name of the string too, since that forces the localizers to update the
string. If the string name stays the same, they usually won't notice the
change*.

* Yeah, our tools could use improvement in this department...

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Neal-o
Created attachment 8337339
fix bucket groups to be based off of a calendar week concept

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Jim
Ok, I looked into the issue of how to determine the first day of the
week. There's a localization file here, used for the datepicker[1] and
there's also a pref in Lightning[2]. I'm pretty sure most OSes also
specify this somewhere, but we don't detect that. I'm CCing one of the
Lightning devs so that we can discuss the correct solution here. It
might be useful to add support to Gecko to pull this in from the OS;
that could be useful for HTML5 forms as well.

[1] 
http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/locales/en-US/chrome/global/datetimepicker.dtd
[2] 
http://mxr.mozilla.org/comm-central/source/calendar/locales/en-US/lightning-l10n.js#9

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Neal-o
Created attachment 8337301
fix bucket groups to be based off of a calendar week concept

Attached is a first attempt patch to address this bug.
It aligns the buckets > yesterday to week boundaries, and adds a lastWeek 
bucket.

I need information on where to get the beginning of calendar week
localization runtime information

Also, I did the English localization, but none of the others. I would
need help with that.

This needs testers to validate that I didn't break something else.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Neal-o
Thanks for the comments.

(In reply to Jim Porter (:squib) from comment #20)
> Comment on attachment 8337301
> fix bucket groups to be based off of a calendar week concept
> 
> Review of attachment 8337301:
> -
> 
> This isn't a full review; just a quick pass. David Bienvenu is unlikely to
> be super-response, since I believe he works at Google now. I've redirected
> the review to someone who might be a better pick (sorry if I redirected
> wrong!).

Thanks for pointing it to anyone who'll respond.

> 
> ::: mail/locales/en-US/chrome/messenger/messenger.properties
> @@ +178,3 @@
> >  lastWeek=Last Week
> >  twoWeeksAgo=Two Weeks Ago
> >  older=Older
> 
> We might need to change the names of these strings to force localizers to
> update them; after this patch, lastWeek doesn't refer to the same thing. A
> localizer might have translated that to something like "Within the last 7
> days", which is accurate for how the code works pre-patch, but would be
> wrong post-patch.

noted. suggestions ?

> 
> ::: mailnews/base/src/nsMsgGroupView.cpp
> @@ -135,5 @@
> > -int64_t GMTLocalTimeShift = 
> > currentExplodedTime.tm_params.tp_gmt_offset +
> > -  currentExplodedTime.tm_params.tp_dst_offset;
> > -GMTLocalTimeShift *= PR_USEC_PER_SEC;
> > -currentTime += GMTLocalTimeShift;
> > -dateOfMsg += GMTLocalTimeShift;
> 
> Why'd you remove the time-shifting? Isn't that important, since we want to
> figure out when midnight is in local time, not GMT?

It didn't seem to work correctly.
With it, I had messages that were very near to the bucket boundaries, that 
sometimes, were on the wrong side of the bucket boundary.

Commented out, all my messages seemed to align correctly at the
boundaries.

> 
> @@ +135,5 @@
> > +// the localization for first day of calendar
> > +int64_t todayMidnight = currentTime - currentTime % PR_USEC_PER_DAY;
> > +int64_t yesterday = todayMidnight - PR_USEC_PER_DAY;
> > +int64_t thisWeek = todayMidnight - (PR_USEC_PER_DAY *
> > +   (currentExplodedTime.tm_wday + 0));
> 
> Why the "+ 0" here?

You missed the line above. It's a place holder for the start of calendar
week localization offset.

> 
> @@ +137,5 @@
> > +int64_t yesterday = todayMidnight - PR_USEC_PER_DAY;
> > +int64_t thisWeek = todayMidnight - (PR_USEC_PER_DAY *
> > +   (currentExplodedTime.tm_wday + 0));
> > +int64_t lastWeek = thisWeek - (PR_USEC_PER_DAY * 7);
> > +int64_t twoWeeks = lastWeek - (PR_USEC_PER_DAY * 7);
> 
> Nit: I'd call this lastTwoWeeks to be clearer.

Noted.

> 
> @@ +778,5 @@
> >  if (m_kOldMailString.IsEmpty())
> >
> > m_kOldMailString.Adopt(GetString(NS_LITERAL_STRING("older").get()));
> >  aValue.Assign(m_kOldMailString);
> >  break;
> > +  case Invalid:
> 
> I don't think we really need to add this here; the default case will catch
> it.

Yeah, it was a Nit on my part, default aside, I recalled that some
compilers complain if every instance of an enum is not handled, so I was
being pro-active. :)

> 
> ::: mailnews/base/src/nsMsgGroupView.h
> @@ +46,5 @@
> >virtual void InternalClose();
> >nsMsgGroupThread *AddHdrToThread(nsIMsgDBHdr *msgHdr, bool *pNewThread);
> >virtual nsresult HashHdr(nsIMsgDBHdr *msgHdr, nsString& aHashKey);
> > +
> > +  enum AgeBucket_t { Invalid, Today, Yesterday, ThisWeek, LastWeek, 
> > TwoWeeksAgo, Older };
> 
> I think it would make more sense to put this at the top of the protected:
> list, and also to put each value on its own line.
> 
> I'm not sure what Mozilla's standard for naming enums is; I don't think it's
> Foo_t though.

Noted, I briefly looked for coding standard for enums, and couldn't find
anything.

I'll wait for more comments before taking any more action.
I don't want to litter this bug with a bunch of back and forth.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Neal-o
Yeah, uncle, after further testing, the time zone adjustments go back
in...

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-24 Thread Jim
Comment on attachment 8337301
fix bucket groups to be based off of a calendar week concept

Review of attachment 8337301:
-

This isn't a full review; just a quick pass. David Bienvenu is unlikely
to be super-response, since I believe he works at Google now. I've
redirected the review to someone who might be a better pick (sorry if I
redirected wrong!).

::: mail/locales/en-US/chrome/messenger/messenger.properties
@@ +178,3 @@
>  lastWeek=Last Week
>  twoWeeksAgo=Two Weeks Ago
>  older=Older

We might need to change the names of these strings to force localizers
to update them; after this patch, lastWeek doesn't refer to the same
thing. A localizer might have translated that to something like "Within
the last 7 days", which is accurate for how the code works pre-patch,
but would be wrong post-patch.

::: mailnews/base/src/nsMsgGroupView.cpp
@@ -135,5 @@
> -int64_t GMTLocalTimeShift = currentExplodedTime.tm_params.tp_gmt_offset +
> -  currentExplodedTime.tm_params.tp_dst_offset;
> -GMTLocalTimeShift *= PR_USEC_PER_SEC;
> -currentTime += GMTLocalTimeShift;
> -dateOfMsg += GMTLocalTimeShift;

Why'd you remove the time-shifting? Isn't that important, since we want
to figure out when midnight is in local time, not GMT?

@@ +135,5 @@
> +// the localization for first day of calendar
> +int64_t todayMidnight = currentTime - currentTime % PR_USEC_PER_DAY;
> +int64_t yesterday = todayMidnight - PR_USEC_PER_DAY;
> +int64_t thisWeek = todayMidnight - (PR_USEC_PER_DAY *
> +   (currentExplodedTime.tm_wday + 0));

Why the "+ 0" here?

@@ +137,5 @@
> +int64_t yesterday = todayMidnight - PR_USEC_PER_DAY;
> +int64_t thisWeek = todayMidnight - (PR_USEC_PER_DAY *
> +   (currentExplodedTime.tm_wday + 0));
> +int64_t lastWeek = thisWeek - (PR_USEC_PER_DAY * 7);
> +int64_t twoWeeks = lastWeek - (PR_USEC_PER_DAY * 7);

Nit: I'd call this lastTwoWeeks to be clearer.

@@ +778,5 @@
>  if (m_kOldMailString.IsEmpty())
>
> m_kOldMailString.Adopt(GetString(NS_LITERAL_STRING("older").get()));
>  aValue.Assign(m_kOldMailString);
>  break;
> +  case Invalid:

I don't think we really need to add this here; the default case will
catch it.

::: mailnews/base/src/nsMsgGroupView.h
@@ +46,5 @@
>virtual void InternalClose();
>nsMsgGroupThread *AddHdrToThread(nsIMsgDBHdr *msgHdr, bool *pNewThread);
>virtual nsresult HashHdr(nsIMsgDBHdr *msgHdr, nsString& aHashKey);
> +
> +  enum AgeBucket_t { Invalid, Today, Yesterday, ThisWeek, LastWeek, 
> TwoWeeksAgo, Older };

I think it would make more sense to put this at the top of the
protected: list, and also to put each value on its own line.

I'm not sure what Mozilla's standard for naming enums is; I don't think
it's Foo_t though.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2013-11-21 Thread Rsx11m-pub
*** Bug 941197 has been marked as a duplicate of this bug. ***

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2011-04-07 Thread Schoeni
It should be simple to define a logical structure.
A time period has a clearly defined start and end like a day that starts at 
0:00 and ends on 23:59:59.999 (shortly before 0:00). If we would classify a 
time by hours as example 12:21 it would be "this hour", everithing in the range 
of 11:00...11:59 would be "one hour before" and then "earlier this day".
The same scheme applies to days. If we define the start of the week at 
Monday(like defined in Lightning) then we could have Thursday as "Today", 
Wednesday as "Yesterday", Monday and Tuesday as "Earlier this week". With the 
use of "Last week" we could solve any ordering related problem. If today would 
be Monday then Monday is "Today", Sunday is "Yesterday", Satterday is in the 
group "Last week". Everything before the last week could go to "Older Messages".
Sure we could do the same with months or even years ... but this could be 
overdrawn.

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2011-02-15 Thread Bienvenu
(In reply to comment #15)

> I've no idea, though, whether the current i18n/l10n structures allow for a
> choice like this. Maybe this would need to be a (hidden?) preference, with
> corresponding UI strings to be translated for both paradigms.

l10n has no control over this, so it would have to be a pref the
localizations could set. But I'm pretty sure I've heard english-language
user complain about this, if not in bugzilla, at least in Get
Satisfaction issues.

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2011-02-14 Thread John-tradoc
Looking back at this relatively old bug, I wonder whether the lack of
agreement on categories (and hence the lack of progress) might be at
least partly because the preferred categorisation varies from locale to
locale. None of those who complain about the existing categories seem to
be English-language users, and that can't be entirely a coincidence.

It would be perfectly possible in theory to define a structure whereby
different locales can choose their own categorisation depending whether
the mindset in their locale conceptualises a "week" as last-7
-consecutive-days or as a calendar week.

I've no idea, though, whether the current i18n/l10n structures allow for
a choice like this. Maybe this would need to be a (hidden?) preference,
with corresponding UI strings to be translated for both paradigms.

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341]

2011-02-14 Thread Schoeni
*** Bug 627655 has been marked as a duplicate of this bug. ***

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2010-09-18 Thread Bug Watch Updater
** Changed in: thunderbird
   Importance: Unknown => Medium

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2009-12-10 Thread Micah Gersten
Upstream marked as duplicate.

** Bug watch added: Mozilla Bugzilla #505981
   https://bugzilla.mozilla.org/show_bug.cgi?id=505981

** Changed in: thunderbird
   Status: Invalid => Unknown

** Changed in: thunderbird
 Remote watch: Mozilla Bugzilla #315114 => Mozilla Bugzilla #505981

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2009-07-23 Thread Bug Watch Updater
** Changed in: thunderbird
   Status: Confirmed => Invalid

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2009-03-17 Thread Michael Rooney
** Changed in: thunderbird (Ubuntu)
   Status: Confirmed => Triaged

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2009-03-12 Thread Bug Watch Updater
** Changed in: thunderbird
   Status: Unknown => Confirmed

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2009-03-12 Thread Pedro Villavicencio
** Changed in: thunderbird (Ubuntu)
   Importance: Undecided => Low

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2009-03-12 Thread Joel Goguen
Confirming this based on multiple reports, and Mozilla 315114
(https://bugzilla.mozilla.org/show_bug.cgi?id=315114).

** Changed in: thunderbird (Ubuntu)
Sourcepackagename: mozilla-thunderbird => thunderbird
   Status: Incomplete => Confirmed

** Also affects: thunderbird via
   https://bugzilla.mozilla.org/show_bug.cgi?id=315114
   Importance: Unknown
   Status: Unknown

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2009-03-12 Thread davidf
This bug exists yet, and it's the same in Windows XP.
I have Ubuntu Intrepid Ibex and Thunderbird 2.0.0.19 (20090105).

I've attached an image to see it clearly (it's in spanish: 'Hoy' means
'today', 'La semana pasada' means 'Last week' and 'Hace dos semanas'
means 'Two weeks ago'). Today is March 13th, 2009. And March 10th
(Monday) is in the last week and March 5th is in two weeks ago (and it
was Thursday, have passed one week only!)

** Attachment added: "Thunderbird screenshot"
   http://launchpadlibrarian.net/23777068/PantallazoThunderbird.png

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2009-01-29 Thread Joel Goguen
Thank you for taking the time to report this bug and helping to make
Ubuntu better. You reported this bug a while ago and there hasn't been
any activity in it recently. We were wondering if this is still an issue
for you. Can you try with the latest Ubuntu release? Thanks in advance.

** Changed in: mozilla-thunderbird (Ubuntu)
   Status: New => Incomplete

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2008-06-07 Thread Dexo
# Today is
$ date --rfc-3339=date
2008-06-07
-
Snapshot dates
"La semana pasada" Group (= Last week. Translated)
05/06/08 (= 2008-06-05)
05/06/08 (= 2008-06-05)
"Hace dos semanas" Group (= Two weeks ago)
29/05/08 (= 2008-05-29)
-
# Actually 2008-06-05 is in the same week and 2008-05-29 in last week
$ cal -m 06 2008
 June 2008
Mo Tu We Th Fr Sa Su
   1
 2  3  4 [5] 6 [7] 8
 9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
$ cal -m 05 2008
  May 2008
Mo Tu We Th Fr Sa Su
  1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28[29]30 31

# I don't have an example but it don't respect Monday as the first 
#   day of the week and puts 2008-06-01 and 2008-06-05 in the same week group


** Attachment added: "Misplaced dates in groups"
   http://launchpadlibrarian.net/15112111/instant%C3%A1nea1.png

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2008-06-06 Thread John Vivirito
Dexo wrote:
>> Is TB the only app that has this issue?
> It's my only mail client.
> And calendars here starts at monday, and the rest (kde apps) behaves normally 
> and respect that.
> 
>> Where are you seeing this date?
> In the date group header. 
> That is in the mail list window, that is sorted and grouped by date.
> 
You mean the date on the right of every piece of mail? Can you please 
attach a screenshot of the issue to this bug report please.

-- 
Sincerely Yours,
 John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2008-06-06 Thread Dexo
> Is TB the only app that has this issue?
It's my only mail client.
And calendars here starts at monday, and the rest (kde apps) behaves normally 
and respect that.

> Where are you seeing this date?
In the date group header. 
That is in the mail list window, that is sorted and grouped by date.

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2008-06-05 Thread John Vivirito
Dexo wrote:
> Oops!
> 
> I mean:
> 
> Today is wensday 04/jun/2008, and monday 02/jun/2008 appears in last
> week.
> 
I figured that is what you meant.
Is TB the only app that has this issue?
Where are you seeing this date?

-- 
Sincerely Yours,
 John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] Re: mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2008-06-04 Thread Dexo
Oops!

I mean:

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

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 237341] [NEW] mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008

2008-06-04 Thread Dexo
Public bug reported:

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

** Affects: mozilla-thunderbird (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug

-- 
mozilla-thunderbird locates 2/6/2008 as last week in 4/6/2008
https://bugs.launchpad.net/bugs/237341
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs