Skip to content

Commit

Permalink
Bug with slow zone time formatting (#840)
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Weinberg <[email protected]>
  • Loading branch information
PatrickCleary and nathan-weinberg authored Aug 20, 2023
1 parent 284a3d1 commit ebdcb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/utils/time.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const getFormattedTimeValue = (value: number, isLarge?: boolean) => {
<p>
<WidgetText isLarge={isLarge} text={duration.format('H')} />
<UnitText isLarge={isLarge} text={'h'} />{' '}
<WidgetText text={duration.format('m').padStart(2, '0')} />
<WidgetText isLarge={isLarge} text={duration.format('m').padStart(2, '0')} />
<UnitText isLarge={isLarge} text={'m'} />
</p>
);
Expand Down

0 comments on commit ebdcb14

Please sign in to comment.