Commit b2fe2300 authored by 黄广星's avatar 黄广星

接口返回日期格式

parent 9f59740a
......@@ -44,7 +44,7 @@ var aggregate = function(model, match, group_id, sort, callback) {
//格式化日期 (格式:年-月-日)
function date_format(date) {
return moment(date).format('YYYY/MM/DD');
return moment(date).format('YYYYMMDD');
}
//获取日期之间所有日期
......
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