bug fix for handling locale's whose first day of week is not Sunday.