« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things/language.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/language.js b/src/data/things/language.js
index fa529a8e..80a34575 100644
--- a/src/data/things/language.js
+++ b/src/data/things/language.js
@@ -369,7 +369,7 @@ export class Language extends Thing {
     const relative =
       this.formatString(
         'count.dateDuration',
-        (approximate
+        (approximate && (years || months || days)
           ? (comparison === -1
               ? 'approximateEarlier'
               : 'approximateLater')