Closed Bug 273919 Opened 20 years ago Closed 15 years ago

WW01 needs some customization [week number count]

Categories

(Calendar :: Calendar Frontend, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: scotttetrick, Unassigned)

References

Details

(Whiteboard: [extension fodder])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

It appears that there are options about when WW01 occurs that should be
expressed to users as options.  For example, my company has WW01 always on the
week where Jan 1 occurs.

The current version of the calendar shows that week as WW53 in 2004, resulting in
every 2005 Work Week being wrong.

Reproducible: Always
Steps to Reproduce:
1.  Look at Month view in the calendar, refering to December 2004
2.  The work week for Dec 31, and Jan 1 is ww53




Expected Results:  
The software should have some settings that allow a flexible work week 01.
bug 258556 comment 1 and bug 258556 comment 2 have related info.

--> enhancement
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: General → Sunbird and Calendar-Extension Front End
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Summary: WW01 needs some customization → WW01 needs some customization [week number count]
QA Contact: gurganbl → sunbird
Reassigning all automatically assigned bugs from Mostafa to nobody@m.o

Bugspam filter: TorontoMostafaMove
Assignee: mostafah → nobody
The week-numbering system is now pluggable, via an extension that overrides calIWeekTitleService.  I'm against exposing actual options by default, as that'll get pretty darn complex.  -> Extension fodder.  (Anyone wanting to write this extension should feel free to contact me with specific questions, if they run into obstacles.)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Disagree with extension-fodder.
First of all, different countries use different numbering systems.
Second, companies might have their own systems (and small companies are our target...)
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
According to ISO 8601, the first week of the year is the week with the first Thursday in January.  I think this is currently not the default behaviour in Sunbird, but it should be.
(In reply to comment #5)
> According to ISO 8601, the first week of the year is the week with the first
> Thursday in January.  I think this is currently not the default behaviour in
> Sunbird, but it should be.

The patch in bug 326270 should have solved all bugs regarding week numbering. If you bring up such an assertion, please check it with a recent version of Sunbird before. I couldn't reproduce numbering the wrong week as the first week of a year.

Please, file a bug with an detailed description, if ISO 8601 is not the default behavior in Sunbird.
Sorry, the latest nightly build is indeed ok (the latest public release was not).
Status: REOPENED → NEW
Component: Sunbird Only → Calendar Views
QA Contact: sunbird → views
Version: unspecified → Trunk
Version: Trunk → unspecified
The week number format is done according to iso 8601, which I think is fine. Aside from that, I agree the weekinfo service should be overridden in an extension (however that actually works, never tried)
Status: NEW → RESOLVED
Closed: 18 years ago15 years ago
Resolution: --- → WONTFIX
Whiteboard: [extension fodder]
You need to log in before you can comment on or make changes to this bug.