Skip to content

Commit 8c16254

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent caf8e33 commit 8c16254

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ui/packages/shared/profile/src/ProfileSource.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,13 @@ export class MergedProfileSource implements ProfileSource {
255255

256256
let timePart = '';
257257
if (this.mergeFrom !== 0) {
258-
timePart = `over ${formatDuration({milliseconds: this.mergeTo - this.mergeFrom})} from ${formatDate(
259-
this.mergeFrom,
258+
timePart = `over ${formatDuration({
259+
milliseconds: this.mergeTo - this.mergeFrom,
260+
})} from ${formatDate(this.mergeFrom, timeFormat(timezone), timezone)} to ${formatDate(
261+
this.mergeTo,
260262
timeFormat(timezone),
261263
timezone
262-
)} to ${formatDate(this.mergeTo, timeFormat(timezone), timezone)}`;
264+
)}`;
263265
}
264266

265267
return `merged profiles${queryPart}${timePart}`;

0 commit comments

Comments
 (0)