Commit 8d1972c5 authored by strong's avatar strong

修复社区文章报表行为数据查不出来的问题(mr参数的日期格式有问题)

parent eb2f3a3d
...@@ -44,7 +44,7 @@ var aggregate = function(model, match, group_id, sort, callback) { ...@@ -44,7 +44,7 @@ var aggregate = function(model, match, group_id, sort, callback) {
//格式化日期 (格式:年-月-日) //格式化日期 (格式:年-月-日)
function date_format(date) { function date_format(date) {
return moment(date).format('YYYYMMDD'); return moment(date).format('YYYY/MM/DD');
} }
//获取日期之间所有日期 //获取日期之间所有日期
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment