moment/moment — pull request #1398 by gregor-rayman (2014-01-07 00:21:54+00:00)
Title: Fix to Arabic week number parsings.

In Arabic week numbering (week starts on Saturday, 1st week contains January 1st) the local week numbering formatting is correct (2013-12-28 formatted as gggg ww d becomes 2014 1 6), the parsing however is shifting the weeks by one. Parsing moment('2014 1 6', 'gggg w d') returns the January 4th 2014.

Fixes the issue https://github.com/moment/moment/issues/1397