Change durationUnitFormat style from short to narrow
This commit is contained in:
1 parent
59850651b8
commit
7782739d2d
2 files changed
+1
-2
No files matched your search
@@ -15,7 +15,7 @@ export default class extends Helper {
|
||||
compute([durationInMs]) {
|
||||
const durationInSeconds = durationInMs / 1000;
|
||||
const durationFormat = new DurationUnitFormat(this.intl.primaryLocale, {
|
||||
style: 'short',
|
||||
style: 'narrow',
|
||||
format: '{days} {hours} {minutes} {seconds}',
|
||||
round: true,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user