diff --git a/endpoints/api.py b/endpoints/api.py index 080deee58..00e405d15 100644 --- a/endpoints/api.py +++ b/endpoints/api.py @@ -1557,7 +1557,7 @@ def org_invoices_api(orgname): 'attempted': i.attempted, 'closed': i.closed, 'total': i.total, - 'plan': i.lines.data[0].plan.id + 'plan': i.lines.data[0].plan.id if i.lines.data[0].plan else None } permission = AdministerOrganizationPermission(orgname) diff --git a/static/img/repo-view.png b/static/img/repo-view.png index 88a49bd67..72d862430 100644 Binary files a/static/img/repo-view.png and b/static/img/repo-view.png differ diff --git a/static/js/graphing.js b/static/js/graphing.js index 4ee2ef2f6..d06191e91 100644 --- a/static/js/graphing.js +++ b/static/js/graphing.js @@ -1274,7 +1274,6 @@ function LogUsageChart(titleMap) { this.colorScale_ = d3.scale.category20(); } - /** * Builds the D3-representation of the data. */ @@ -1489,9 +1488,9 @@ LogUsageChart.prototype.draw = function(container, logData) { chart.multibar.delay(0); // Create the x-axis domain to encompass a week from today. - var domain = []; + var domain = []; var datetime = new Date(); - datetime = new Date(datetime.getFullYear(), datetime.getMonth(), datetime.getDate()); + datetime = new Date(datetime.getUTCFullYear(), datetime.getUTCMonth(), datetime.getUTCDate()); for (var i = 7; i >= 0; --i) { domain.push(offsetDate(datetime, -1 * i)); } diff --git a/static/partials/org-admin.html b/static/partials/org-admin.html index 02e73abef..45360ec76 100644 --- a/static/partials/org-admin.html +++ b/static/partials/org-admin.html @@ -93,7 +93,7 @@