diff --git a/script.js b/script.js index feab1dc..1c20d95 100644 --- a/script.js +++ b/script.js @@ -436,7 +436,7 @@ function contractRemaining(sopimuskausi, alkupvm) { end.setMonth(end.getMonth() + months); const now = new Date(); const diffMs = end - now; - if (diffMs <= 0) return `${months} kk (päättynyt)`; + if (diffMs <= 0) return `${months} kk (jatkuva)`; const remainMonths = Math.ceil(diffMs / (1000 * 60 * 60 * 24 * 30.44)); return `${months} kk (${remainMonths} kk jäljellä)`; }