Sign in
apache
/
usergrid-nodejs
/
03cea863424be8c5bf18c1beb9d45c12c7d864f7
/
.
/
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
)
}
}