client: Use named constants for time calculations #183
Loading…
Reference in a new issue
No description provided.
Delete branch "client-time-constants"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Constants were borrowed from
const.ts
from the backend but alsoincludes
WEEK
,MONTH
, andYEAR
constants as well.Looks good this far.
If you want to convert everything, I also found that at least
scripts/get-user-menu.ts
andcomponents/poll-editor.vue
and a timeout inpages/settings/2fa.vue
also exist.6e1fddcd14
to5830a983b8
5830a983b8
toffc4fe244d
f5a41b1fc4
to40d3358374