Update date.format.js
Update date.format.js

Get day according to ISO-8601 (N) wasn't correct. Only Sundays should be changed to 7, otherwise it should be the result of getDay().
From PHP:date manual: 1 (for Monday) through 7 (for Sunday).
liukaijv/date.format,lionel87/date.format,jacwright/date.format