diff options
Diffstat (limited to 'app/assets/javascripts/calendar.js.coffee')
-rw-r--r-- | app/assets/javascripts/calendar.js.coffee | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/javascripts/calendar.js.coffee b/app/assets/javascripts/calendar.js.coffee index d80e0e716ce..70e921be69a 100644 --- a/app/assets/javascripts/calendar.js.coffee +++ b/app/assets/javascripts/calendar.js.coffee @@ -2,10 +2,13 @@ class @Calendar constructor: (timestamps, starting_year, starting_month, calendar_activities_path) -> cal = new CalHeatMap() cal.init - itemName: ["contribution"] + itemName: ["次贡献", "次贡献"] data: timestamps start: new Date(starting_year, starting_month) - domainLabelFormat: "%b" + domainLabelFormat: "%-m 月" + subDomainDateFormat: "%Y-%m-%d" + subDomainTitleFormat: + filled: "{date}:{count} {name}" id: "cal-heatmap" domain: "month" subDomain: "day" |