Switch to plain syntax

This commit is contained in:
Zach Leatherman 2018-01-22 23:43:57 -06:00
parent baf187905c
commit 9a0fab1b46

View File

@ -1,5 +1,5 @@
const { DateTime } = require("luxon"); const { DateTime } = require("luxon");
const liquidjsSyntaxHighlighter = require("./_src/eleventy-liquidjs-tag-highlight-prismjs"); const liquidjsSyntaxHighlighter = require("./_src/eleventy-liquidjs-tag-highlight-plain");
function dateToISO(dateObj) { function dateToISO(dateObj) {
return DateTime.fromJSDate(dateObj).toISO({ includeOffset: true, suppressMilliseconds: true }); return DateTime.fromJSDate(dateObj).toISO({ includeOffset: true, suppressMilliseconds: true });