change the getweek function to support SAPUI5 Date format "w" pattern