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); },