From 39c0ac11362bb3dc7dbd17569cbab6af42141282 Mon Sep 17 00:00:00 2001 From: chris2fr Date: Thu, 15 Oct 2020 22:09:53 +0200 Subject: [PATCH] Modified the date of the export --- components/export.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/export.js b/components/export.js index c8047ac..ba337fd 100644 --- a/components/export.js +++ b/components/export.js @@ -5,6 +5,8 @@ var exportComponent = { mounted: function() { + stringDate = new Date().toISOString(); + this.$root.sections.meta.lastModified = stringDate.slice(0,16) + stringDate.slice(stringDate.lastIndexOf("Z")); //.replace(":",""); this.json = JSON.stringify(this.$root.sections, null, 4); },