@bonniernews/local-esi
Advanced tools
Comparing version 0.13.2 to 0.14.0
@@ -83,2 +83,8 @@ "use strict"; | ||
}, | ||
// eslint-disable-next-line camelcase | ||
http_time([seconds]) { | ||
const secondsInt = parseInt(getFunc(seconds.type)(seconds)); | ||
const now = new Date(secondsInt * 1000); | ||
return now.toUTCString(); | ||
}, | ||
CallExpression(node) { | ||
@@ -85,0 +91,0 @@ return getFunc(node.callee.name)(node.arguments); |
{ | ||
"name": "@bonniernews/local-esi", | ||
"version": "0.13.2", | ||
"version": "0.14.0", | ||
"description": "Local Edge Side Includes parser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
26378
765