mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Adjust all other moment imports to moment-with-locales
This commit is contained in:
parent
d1714abc6a
commit
2e5ec0308f
11 changed files with 11 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
import { TAPi18n } from '/imports/i18n';
|
import { TAPi18n } from '/imports/i18n';
|
||||||
import { DatePicker } from '/client/lib/datepicker';
|
import { DatePicker } from '/client/lib/datepicker';
|
||||||
import Cards from '/models/cards';
|
import Cards from '/models/cards';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
import { TAPi18n } from '/imports/i18n';
|
import { TAPi18n } from '/imports/i18n';
|
||||||
import { DatePicker } from '/client/lib/datepicker';
|
import { DatePicker } from '/client/lib/datepicker';
|
||||||
import Cards from '/models/cards';
|
import Cards from '/models/cards';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { Blaze } from 'meteor/blaze';
|
import { Blaze } from 'meteor/blaze';
|
||||||
import { Session } from 'meteor/session';
|
import { Session } from 'meteor/session';
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
|
|
||||||
Blaze.registerHelper('currentBoard', () => {
|
Blaze.registerHelper('currentBoard', () => {
|
||||||
const ret = Utils.getCurrentBoard();
|
const ret = Utils.getCurrentBoard();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
|
|
||||||
// Filtered view manager
|
// Filtered view manager
|
||||||
// We define local filter objects for each different type of field (SetFilter,
|
// We define local filter objects for each different type of field (SetFilter,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
import { TAPi18n } from '/imports/i18n';
|
import { TAPi18n } from '/imports/i18n';
|
||||||
import {
|
import {
|
||||||
OPERATOR_ASSIGNEE,
|
OPERATOR_ASSIGNEE,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
import {
|
import {
|
||||||
ALLOWED_COLORS,
|
ALLOWED_COLORS,
|
||||||
TYPE_CARD,
|
TYPE_CARD,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
const Papa = require('papaparse');
|
const Papa = require('papaparse');
|
||||||
import { TAPi18n } from '/imports/i18n';
|
import { TAPi18n } from '/imports/i18n';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
import { TAPi18n } from '/imports/i18n';
|
import { TAPi18n } from '/imports/i18n';
|
||||||
import { createWorkbook } from './createWorkbook';
|
import { createWorkbook } from './createWorkbook';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
import { TAPi18n } from '/imports/i18n';
|
import { TAPi18n } from '/imports/i18n';
|
||||||
|
|
||||||
const DateString = Match.Where(function(dateAsString) {
|
const DateString = Match.Where(function(dateAsString) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
|
|
||||||
const DateString = Match.Where(function(dateAsString) {
|
const DateString = Match.Where(function(dateAsString) {
|
||||||
check(dateAsString, String);
|
check(dateAsString, String);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import moment from 'moment';
|
import moment from 'moment/min/moment-with-locales';
|
||||||
import escapeForRegex from 'escape-string-regexp';
|
import escapeForRegex from 'escape-string-regexp';
|
||||||
import Users from '../../models/users';
|
import Users from '../../models/users';
|
||||||
import Boards from '../../models/boards';
|
import Boards from '../../models/boards';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue