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

6 commits

Author SHA1 Message Date
40d3358374
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
2022-10-04 13:38:23 -04:00
18c116f3fe
client: use constants for remaining timeouts 2022-10-04 13:38:23 -04:00
7466f8e224
use time constant in 2fa.vue 2022-10-04 13:38:23 -04:00
c98f6e899d
client: update poll-editor.vue to use time constants 2022-10-04 13:38:23 -04:00
7c5e2ac5a1
use time constants in scripts/get-user-menu.ts 2022-10-04 13:38:23 -04:00
843de7fb74
client: Use named constants for time calculations
Constants were borrowed from `const.ts` from the backend but also
includes `WEEK`, `MONTH`, and `YEAR` constants as well.
2022-10-04 13:38:23 -04:00