Commit 2dae497
committed
feat: display the reading time in a formatted for the locale
The display of the reading time for each page is currently based
on the assumption that the page is in English. This change makes
the Intl API is used to display the reading time in a format
appropriate for the locale of the translated language.1 parent e52e6db commit 2dae497
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
0 commit comments