createdAt

This commit is contained in:
abalabahaha
2016-05-31 18:52:41 -07:00
parent d913d04f44
commit bd15cc68ce
12 changed files with 60 additions and 1 deletions

View File

@@ -102,6 +102,11 @@ var User = (function (_Equality) {
};
_createClass(User, [{
key: "createdAt",
get: function get() {
return new Date(+this.id / 4194304 + 1420070400000);
}
}, {
key: "avatarURL",
get: function get() {
if (!this.avatar) {