浏览代码

Card Details dates in user language format

Martin Filser 3 年之前
父节点
当前提交
d1714abc6a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      client/components/cards/cardDate.js
  2. 1 1
      client/lib/datepicker.js

+ 1 - 1
client/components/cards/cardDate.js

@@ -1,4 +1,4 @@
-import moment from 'moment';
+import moment from 'moment/min/moment-with-locales';
 import { TAPi18n } from '/imports/i18n';
 import { DatePicker } from '/client/lib/datepicker';
 

+ 1 - 1
client/lib/datepicker.js

@@ -1,5 +1,5 @@
 import { TAPi18n } from '/imports/i18n';
-import moment from 'moment';
+import moment from 'moment/min/moment-with-locales';
 
 // Helper function to replace HH with H for 24 hours format, because H allows also single-digit hours
 function adjustedTimeFormat() {