client: use time constants in time.ts
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed

This commit is contained in:
Norm 2022-10-04 13:14:50 -04:00
parent 18c116f3fe
commit 40d3358374
Signed by: norm
GPG key ID: 7123E30E441E80DE

View file

@ -1,6 +1,8 @@
import { DAY, HOUR } from '@/const';
const dateTimeIntervals = {
'day': 86400000,
'hour': 3600000,
'day': DAY,
'hour': HOUR,
'ms': 1,
};