[+] Encapsulate get date
This commit is contained in:
@@ -27,6 +27,11 @@
|
||||
this.title = title;
|
||||
this.format = format;
|
||||
}
|
||||
|
||||
get date()
|
||||
{
|
||||
return new Date(this.rawDate);
|
||||
}
|
||||
}
|
||||
|
||||
@Component
|
||||
|
||||
Reference in New Issue
Block a user