You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I've just met a case, when date filter returns next week number instead of this week's number for given date.
Today is Sunday, 14 December 2014, week 50.
varweekNum=$filter('date')(newDate(2014,11,14),'ww');//returns 51 instead of 50
I suppose that the reason for this is that in North American countries a start of the week is Sunday. If it's so, how to correct this kind of behaviour? Because I'm living in Europe and need Monday-Sunday week instead of Sunday - Saturday.