@@ -129,7 +129,7 @@ export default class RelativeTimeElement extends HTMLElement implements Intl.Dat
129129
130130 private getFormattedTitle ( ) : string | undefined {
131131 // eslint-disable-next-line no-console
132- console . warn ( `Calling getFormattedTitle is deprecated and will be removed in v5 .0.0` )
132+ console . warn ( `Calling getFormattedTitle is deprecated and will be removed in v4 .0.0` )
133133 return this . #getFormattedTitle( )
134134 }
135135
@@ -176,7 +176,7 @@ export default class RelativeTimeElement extends HTMLElement implements Intl.Dat
176176
177177 private getFormattedDate ( now = new Date ( ) ) : string | undefined {
178178 // eslint-disable-next-line no-console
179- console . warn ( `Calling getFormattedTitle is deprecated and will be removed in v5 .0.0` )
179+ console . warn ( `Calling getFormattedTitle is deprecated and will be removed in v4 .0.0` )
180180 return this . #getFormattedDate( now )
181181 }
182182
@@ -316,7 +316,7 @@ export default class RelativeTimeElement extends HTMLElement implements Intl.Dat
316316 if ( format && format . includes ( '%' ) ) {
317317 // eslint-disable-next-line no-console
318318 console . warn (
319- `srftime formatting is deprecated and will be removed in v5 .0.0. stftime formats will default to 'auto'`
319+ `srftime formatting is deprecated and will be removed in v4 .0.0. stftime formats will default to 'auto'`
320320 )
321321 return format as unknown as Format
322322 }
@@ -327,7 +327,7 @@ export default class RelativeTimeElement extends HTMLElement implements Intl.Dat
327327 if ( value && value . includes ( '%' ) ) {
328328 // eslint-disable-next-line no-console
329329 console . warn (
330- `srftime formatting is deprecated and will be removed in v5 .0.0. stftime formats will default to 'auto'`
330+ `srftime formatting is deprecated and will be removed in v4 .0.0. stftime formats will default to 'auto'`
331331 )
332332 }
333333 this . setAttribute ( 'format' , value )
0 commit comments