1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-22 09:12:19 -05:00

Fix timezone wording

This commit is contained in:
Lance Stout 2013-09-17 11:16:08 -07:00
parent 01692f31f3
commit b5b32f3958

View File

@ -63,7 +63,7 @@ module.exports = HumanModel.define({
if (diff === 0) {
return this.displayName + ' is in the same timezone as you';
}
var dir = (localTZO > this.timezoneOffset) ? 'ahead' : 'behind';
var dir = (localTZO > this.timezoneOffset) ? 'ahead of' : 'behind';
return this.displayName + ' is ' + diff + 'hrs ' + dir + ' you';
} else {
return '';