You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
594 B

<!doctype html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="dist/index.js" type="module"></script>
<button class="tester">test</button>
<script type="module">
import {formatRelativeDate} from "./dist";
console.log(formatRelativeDate(new Date().getSeconds() - 20000, new Date().getSeconds()))