Merge branch 'master' of github.com:designcreateplay/NodeBB

v1.18.x
Julian Lam 11 years ago
commit bbb655abdd

@ -539,7 +539,7 @@ var fs = require('fs'),
if (!data.birthday) { if (!data.birthday) {
data.age = ''; data.age = '';
} else { } else {
data.age = new Date().getFullYear() - new Date(data.birthday).getFullYear(); data.age = Math.floor((new Date().getTime() - new Date(data.birthday).getTime()) / 31536000000);
} }
function canSeeEmail() { function canSeeEmail() {

Loading…
Cancel
Save