andrewplummer/Sugar — Issue #90: Bug in getWeek()
Author: Thomas-Persson
Created: 2012-01-16 21:40:55+00:00
State: open

There is a bug in getWeek() and getUTCWeek() when you are trying to get the week of december 30 and 31.

If you write new Date("2011-12-30).getWeek() it will return 53 same goes with xxxx-12-30.