Skip to content

Commit 86adc8a

Browse files
hasTimes.js: Use correct params in Time.toHumanReadable
1 parent acd7d05 commit 86adc8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/hasTimes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class hasTimes extends Base {
127127
let difference = this.data.time_stats.total_time_spent - totalTimeSpent,
128128
note = Object.assign({noteable_type: this._typeSingular}, this.data);
129129

130-
times.unshift(new Time(Time.toHumanReadable(difference, null, this.config.get('hoursPerDay')), note, this, this.config));
130+
times.unshift(new Time(Time.toHumanReadable(difference, this.config.get('hoursPerDay')), note, this, this.config));
131131

132132
resolve();
133133
}));
@@ -142,4 +142,4 @@ class hasTimes extends Base {
142142
}
143143
}
144144

145-
module.exports = hasTimes;
145+
module.exports = hasTimes;

0 commit comments

Comments
 (0)