denis-sokolov/portent

View on GitHub
src/util/expires.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

var yearInMs = 365 * 24 * 3600 * 1000;

module.exports = function(){
    return (new Date(Date.now() + yearInMs)).toUTCString();
};