Closed Bug 1734504 Opened 3 years ago Closed 3 years ago

After updating to 94.0b1, calendar "start the week on" setting changes from Sunday to Saturday

Categories

(Calendar :: General, defect)

Thunderbird 94
x86_64
Windows 10
defect

Tracking

(thunderbird_esr91 unaffected, thunderbird94+ verified)

VERIFIED FIXED
95 Branch
Tracking Status
thunderbird_esr91 --- unaffected
thunderbird94 + verified

People

(Reporter: thee.chicago.wolf, Assigned: mschroeder)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Have 93.0b installed and note your "start the week on" setting in Tools > Preferences > Calendar. I've had mine set to Sunday for the better part of a decade
  2. Update to the test build of 94.0b1

You'll notice the mini-month view shows Saturday as the starting day for the week and the Tools > Preferences > Calendar setting has now changed to Saturday. I noticed this on my work PC this morning. I thought it was a fluke. I came home and checked my home PC and it's set to Saturday as well.

I was able to fix by setting it back to Sunday.

I notice this as well, but had not had the time to track it down.
Seems like an off-by-one error. Mine was set to start on Monday, and jumped to Sunday. Tried an old profile not started with this version, and it also got Sunday for default.

Keywords: regression
Product: Thunderbird → Calendar
Regressed by: 1158733
Summary: After updating to 94.0b1, calendar mini-month "start the week on" setting changes from Sunday to Saturday → After updating to 94.0b1, calendar "start the week on" setting changes from Sunday to Saturday

From my pov, it is more likely to be a regression from bug 1732420 as it fiddled with calendarInfo and the weekend... or we are missing a part while porting changes needed from bug 1728180. This bug has changes related to first day of week in https://phabricator.services.mozilla.com/D126228.

It seems days encoding changed from 1=Sunday to 7=Saturday to 1=Monday to 7=Sunday. So, https://hg.mozilla.org/comm-central/rev/9671b0bbcd26#l1.6 needs to be adapted to still give the same result as before.

Thanks!

Regressed by: 1732420
No longer regressed by: 1158733
Assignee: nobody → mschroeder
Status: NEW → ASSIGNED

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7696e6d0ef29
Correctly calculate the "start the week on" setting if still using default. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

Comment on attachment 9244838 [details]
Bug 1734504 - Correctly calculate the "start the week on" setting if still using default. r=darktrojan

[Approval Request Comment]
Regression caused by (bug #): bug 1732420
User impact if declined: calendars start on a different day of the week, could be really annoying for some people
Testing completed (on c-c, etc.): just landed
Risk to taking this patch (and alternatives if risky): not risky

Attachment #9244838 - Flags: approval-comm-beta?

Comment on attachment 9244838 [details]
Bug 1734504 - Correctly calculate the "start the week on" setting if still using default. r=darktrojan

[Triage Comment]
Approved for beta

Attachment #9244838 - Flags: approval-comm-beta? → approval-comm-beta+

Verified using 94.0b3 on Windows 10.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: