Skip to content

Commit 89dc8b7

Browse files
committed
date fixed zenorocha#5
1 parent ce97e82 commit 89dc8b7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

jquery.github.repos.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,9 @@
8181
}
8282

8383
}
84-
8584
}
8685
});
8786

88-
89-
9087
}
9188

9289
};
@@ -95,7 +92,7 @@
9592

9693
var self = this;
9794
var date = new Date(repo.pushed_at);
98-
var pushed_at = date.getMonth() + '/' + date.getDate() + '/' + date.getFullYear();
95+
var pushed_at = date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear();
9996

10097
var $widget = $(' \
10198
<div class="github-box"> \

0 commit comments

Comments
 (0)