How to prevent re-render timeago a month ago - Minute and year working

I’am searching and change plugin version but i can’t find solution, minutes and year not flashing, but months ago dom flashing and re-render timeago
BILKING

TimeAgo plugin:

<script src="https://cdnjs.cloudflare.com/ajax/libs/timeago.js/2.0.1/timeago.min.js"></script>

Dom Elements:

<time datetime="2022-04-22T18:59:31+02:00"></time>

Render All time elements:

timeago().render(document.querySelectorAll('time'))

This is what it show on github.

import { render, cancel } from 'timeago.js';

const nodes = document.querySelectorAll('.timeago');

use render method to render nodes in real time
render(nodes, 'zh_CN');

And this function cancel(); cancel all real-time render task.

or cancel for the specific one
cancel(nodes[0])

In your case should be something like this :

timeago.cancel();

Here it shows how to use : Demo page