diff --git a/assets/js/ed.brz9.js b/assets/js/ed.brz9.js index eb22eaa..22ee4fd 100644 --- a/assets/js/ed.brz9.js +++ b/assets/js/ed.brz9.js @@ -1,3 +1,18 @@ +Vue.component('rssdate', { + template: ` +
+

When you loaded that page, the correct pubDate string was:

+

{{ pubDate }}

+
+ `, + computed : { + pubDate () { + const date = new Date() + return date.toUTCString() + } + } +}) + Vue.component('copyme', { template: `
@@ -87,7 +102,7 @@ Vue.component('ppbut' ,{ let vm = new Vue({ data () { return { - name: 'coco' + name: 'test' } } }).$mount('#root') diff --git a/proj/RSS-date/index.php b/proj/RSS-date/index.php new file mode 100644 index 0000000..d0b9f77 --- /dev/null +++ b/proj/RSS-date/index.php @@ -0,0 +1,19 @@ + + + + + + +
+ + + +
+ + \ No newline at end of file