We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dae497 commit 6cfa18aCopy full SHA for 6cfa18a
apps/site/components/withMetaBar.tsx
@@ -20,9 +20,10 @@ const WithMetaBar: FC = () => {
20
const lastUpdated = frontmatter.date
21
? formatter.dateTime(new Date(frontmatter.date), DEFAULT_DATE_FORMAT)
22
: undefined;
23
- const readingTimeText = formatter.number(Math.round(readingTime.minutes), {
+ const readingTimeText = formatter.number(readingTime.minutes, {
24
style: 'unit',
25
unit: 'minute',
26
+ maximumFractionDigits: 0,
27
});
28
29
const usernames =
0 commit comments