Browse Source

日期格式化,本地化

MaiXinRong 5 years ago
parent
commit
b356712f1d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/lib/rpt_data_analysis.js

+ 1 - 0
app/lib/rpt_data_analysis.js

@@ -11,6 +11,7 @@
 const math = require('mathjs');
 const standard = require('../const/standard');
 const moment = require('moment');
+moment.locale('zh-cn');
 
 // 通用方法
 const rdaUtils = {