[+] Encapsulate get date

This commit is contained in:
Hykilpikonna
2019-12-23 09:07:20 -05:00
parent 5fae65ea0b
commit 21567013dc
+5
View File
@@ -27,6 +27,11 @@
this.title = title; this.title = title;
this.format = format; this.format = format;
} }
get date()
{
return new Date(this.rawDate);
}
} }
@Component @Component