Browse Source

Card Details dates in user language format

Martin Filser 3 years ago
parent
commit
d1714abc6a
2 changed files with 2 additions and 2 deletions
  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() {