Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/stats/common.py

Issue 5662084981325824: Fixed last day of month being below the fold and got rid of a duplicated constant (Closed)
Patch Set: Created Jan. 13, 2014, 7:24 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sitescripts/stats/bin/pagegenerator.py ('k') | sitescripts/stats/template/fileStats.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/stats/common.py
===================================================================
--- a/sitescripts/stats/common.py
+++ b/sitescripts/stats/common.py
@@ -42,16 +42,17 @@ def filename_decode(path):
return path
basic_fields = [
{
"name": "day",
"title": "Days of month",
"coltitle": "Day",
"showaverage": True,
+ "defaultcount": 31,
"sort": lambda obj: sorted(obj.items(), key=lambda (k,v): int(k)),
},
{
"name": "weekday",
"title": "Days of week",
"coltitle": "Weekday",
"showaverage": True,
"sort": lambda obj: sorted(obj.items(), key=lambda (k,v): int(k)),
« no previous file with comments | « sitescripts/stats/bin/pagegenerator.py ('k') | sitescripts/stats/template/fileStats.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld