Permalink
Browse files

Merge branch 'hotfix-1.1.5'

  • Loading branch information...
2 parents 9f53b88 + d80bb5f commit 6299fcdf1b240b004bfaf0955baedf8845c459f5 @kyleconroy kyleconroy committed Sep 2, 2010
Showing with 6 additions and 1 deletion.
  1. +1 −1 config.py
  2. +5 −0 static/js/common.js
View
@@ -27,7 +27,7 @@
APP_ROOT_DIR = os.path.abspath(os.path.dirname(__file__))
#Stashboard version
-VERSION = "1.1.4"
+VERSION = "1.1.5"
# If we're debugging, turn the cache off, etc.
# Set to true if we want to have our webapp print stack traces, etc
View
@@ -335,6 +335,8 @@ stashboard.fillIndex = function() {
url += "?start=" + stashboard.rfc1123(startDate);
url += "&end=" + stashboard.rfc1123(endDate);
+ console.log(url);
+
$.ajax({
type: "GET",
url: url,
@@ -343,6 +345,9 @@ stashboard.fillIndex = function() {
var calendar = {};
var days = [];
+ // Make end date the correct date
+ endDate = new Date(endDate.getTime() - 86400000);
+
for (var i=0; i < 5; i++) {
days.push(endDate);
calendar[endDate.getDate()] = false;

0 comments on commit 6299fcd

Please sign in to comment.