mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
Fix ~lastfm registered date display
This commit is contained in:
parent
86d0a6f31b
commit
11a7f1d20e
@ -155,7 +155,7 @@ var lastfm = function(dbot) {
|
||||
event.reply(dbot.t('lfm_profile', {
|
||||
'user': user.currentNick,
|
||||
'plays': profile.playcount.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,"),
|
||||
'date': moment(profile.registered['#text']).format('DD/MM/YYYY'),
|
||||
'date': moment(profile.registered['#text'] * 1000).format('DD/MM/YYYY'),
|
||||
'link': profile.url
|
||||
}));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user