> which quotes that the first week of the year needs to have 4 week days, > so the first Thursday of the year would decide, not Tuesday (the weeks > being counted from Monday to Sunday when calculating the week number, > according to ISO).
I totally agree with the Thursday thing. In fact I confused Tuesday and Thursday when typing my first message (yeah that's not very glorious...), and it should be read replacing Tuesday with Thursday. My apologies for the mistake. > Regarding this, the calculation in qooxdoo's DateChooser would calculate > correctly (eg. compare January 2009 to January 2010). If I take January 2009, the 1st is a *Thursday* (I won't mistake about the day this time), but is part of week 52 . It should be part of week 1 (the first week of year can start the year before). You can also check January 2008 where the first Thursday is the 3rd, but is part of week 52. Same thing for January 2007 where the first Thursday is the 4th, but is part of week 52. And so on. In 2010 the first Thursday is the 7th, but is part of week 53. The whole week 53 is in January, week 1 starting the 10th. Christian spoke about localization, and I don't know how this modifies the results in the DateField calendar, but I looked at the calendar on both the qooxdoo demo (http://demo.qooxdoo.org/current/demobrowser/#showcase~Form.html) and an application of my own (I'm in France), and the week-numbering was the same. -- Loic - Novlog ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
