Ticket #1694831 (accepted enhancement)

Reporter


sfbugs
Opened: 04/5/07
Last modified: 09/19/12
Status: accepted
Type: enhancement

Owner


Allen Rabinovich
Target Release: 3.CURRENT.NEXT
Priority: P3 (normal)
Summary: Support for week number and first week customization
Description:

The calendar supports showing the week number, but it always assumes week number 1 is the week that Jan 1 falls on. For some countries/applications, there may be different week 1s, for financial
reasons, for example.

Therefore, being able to configure what date week 1 should contain would be very useful.

Right now, I guess that can be done by "overriding" the DateMath.getWeekNumber() method (or something like that), but that would be prone to errors, and requires more code from each person trying to
do it.

Would be great if you can simply provide a configuration property which defaults to January 1, for example.

Thanks!

Type: enhancement Observed in Version: None
Component: Calendar Severity: S3 (normal)
Assigned To: Allen Rabinovich Target Release: 3.CURRENT.NEXT
Location: Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

mikeleeorg

  • Username: mikeleeorg
Posted: 04/13/07

Forwarding to component owner for consideration.

George

YUI Developer

Posted: 10/2/07
  • summary changed from Support configuration of when week number 1 starts to [#1510338]Support configuration of when week number 1 starts

added to internal bug db #1510338

sfbugs

Posted: 01/7/09

This ticket was imported from Source Forge.

Orginially submitted by: anupshah

George

YUI Developer

Posted: 03/7/09
  • browser changed to
  • location changed to
  • testinfomation changed to

Comment by Satyen Desai (sdesai) 2008-02-28 15:04:52

Moving to 3.0

Have an ISO 8601 impl already (see internal bugzilla ticket 1778973). Not purusing a configuration option for the 2.x timeframe but will build it into 3.x

George

YUI Developer

Posted: 04/7/09
  • status changed from assigned to accepted

Satyen Desai

YUI Developer

Posted: 05/3/10

Satyen Desai

YUI Developer

Posted: 05/3/10

Re-assigning to Luke, who's working on Calendar for 3.x

Luke Smith

YUI Contributor

Posted: 05/5/10
  • status changed from assigned to accepted

George

YUI Developer

Posted: 04/25/11

Allen Rabinovich

YUI Developer

Posted: 04/28/11
  • browser changed to N/A
  • resolution changed from None
  • status changed from assigned to accepted

Allen Rabinovich

YUI Developer

Posted: 02/1/12
  • milestone changed from 3.NEXT to 3.6.0
  • summary changed from Support configuration of when week number 1 starts to Support for week number and first week customization

Allen Rabinovich

YUI Developer

Posted: 07/18/12
  • sprint changed to backlog

Allen Rabinovich

YUI Developer

Posted: 07/27/12
  • milestone changed from 3.6.0 to 3.7.0
  • sprint changed from backlog

Jenny Donnelly

YUI Developer

Posted: 08/1/12
  • milestone changed from 3.7.0 to 3.6.x

Moving 3.7.0 bugs to 3.6.x for triage.

Jenny Donnelly

YUI Developer

Posted: 09/19/12
  • milestone changed from 3.6.x to 3.CURRENT.NEXT

Moving from 3.6.x to 3.CURRENT.NEXT