diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/DateString/compactDateString.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/DateString/compactDateString.ts b/src/components/DateString/compactDateString.ts index f067b1a..8bff4b7 100644 --- a/src/components/DateString/compactDateString.ts +++ b/src/components/DateString/compactDateString.ts @@ -7,7 +7,7 @@ const metrics = [ { name: 'year', ratio: 12 } ]; -const PRECISION = 0.75; +const PRECISION = 0.85; const resolve = (value: number, metricIndex = 0): string => { // Recursively divide value until it's ready to be presented as a string |