« index
Coverage for /Users/yunong/workspace/node-restify/lib/http_date.js : 100%
8 lines |
8 run |
0 missing |
0 partial |
2 blocks |
2 blocks run |
0 blocks missing
1 2 3 4 5 6 7 8 | // Copyright 2012 Mark Cavage, Inc. All rights reserved. module.exports = function httpDate(now) { if (!now) now = new Date(); return (now.toUTCString()); }; |