[+] Encapsulate get date
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user