Replace ongoworks:speakingurl with limax

This commit is contained in:
Harry Adel 2026-01-21 19:39:01 +02:00
parent aca661583d
commit 2d0c4f5bd8
10 changed files with 70 additions and 40 deletions

View file

@ -1,26 +1,27 @@
import { ReactiveCache } from '/imports/reactiveCache';
import { TAPi18n } from '/imports/i18n';
import { CustomFields } from './customFields';
import {
formatDateTime,
formatDate,
formatTime,
getISOWeek,
isValidDate,
isBefore,
isAfter,
isSame,
add,
subtract,
startOf,
endOf,
format,
parseDate,
now,
createDate,
fromNow,
calendar
import {
formatDateTime,
formatDate,
formatTime,
getISOWeek,
isValidDate,
isBefore,
isAfter,
isSame,
add,
subtract,
startOf,
endOf,
format,
parseDate,
now,
createDate,
fromNow,
calendar
} from '/imports/lib/dateUtils';
import getSlug from 'limax';
const DateString = Match.Where(function(dateAsString) {
check(dateAsString, String);