Sign in
apache
/
usergrid-nodejs
/
131130a1598e338072155389c0f0c782a4b74085
/
.
/
helpers
/
time.js
blob: 06e8d84be99da2c74eb92589d01a0b0ed1e31dcf [
file
] [
log
] [
blame
]
'use strict'
module
.
exports
=
{
expiry
:
function
(
expires_in
)
{
return
Date
.
now
()
+
((
expires_in
?
expires_in
-
5
:
0
)
*
1000
)
}
}