فهرست منبع

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() {