chore: use monorepo organization
This commit is contained in:
parent
deaf7d6ecc
commit
a687827f7e
1099 changed files with 8184 additions and 11535 deletions
27
packages/server/lib/time.js
Normal file
27
packages/server/lib/time.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
const seconds = 1000
|
||||
const second = seconds
|
||||
const minutes = 60 * seconds
|
||||
const minute = minutes
|
||||
const hours = 60 * minutes
|
||||
const hour = hours
|
||||
const days = 24 * hours
|
||||
const day = days
|
||||
const weeks = 7 * days
|
||||
const week = weeks
|
||||
const year = 365 * days
|
||||
const years = year
|
||||
|
||||
module.exports = {
|
||||
seconds,
|
||||
second,
|
||||
minutes,
|
||||
minute,
|
||||
hours,
|
||||
hour,
|
||||
days,
|
||||
day,
|
||||
weeks,
|
||||
week,
|
||||
years,
|
||||
year
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue