Skip to content

Commit

Permalink
Correcting Jalali/Persian calendar popup
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Aug 7, 2017
1 parent d3bb5a7 commit d5c7f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,6 @@ Date.prototype.getJalaliDate = function() {

Date.prototype.getJalaliDay = function() {
var day = this.getDay();
day = (day + 1) % 7;
day = (day) % 7;
return day;
};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit d5c7f25

@balvard
Copy link

@balvard balvard commented on d5c7f25 Aug 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent

Please sign in to comment.