client: Use named constants for time calculations #183

Merged
norm merged 6 commits from client-time-constants into main 2022-10-04 18:05:41 +00:00
Showing only changes of commit 40d3358374 - Show all commits

View file

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