Преглед на файлове

日期格式化,本地化

MaiXinRong преди 5 години
родител
ревизия
b356712f1d
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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 = {