added index.html for testing

main
vikingowl 8 months ago
parent 0fe58e3ccf
commit ca7a4942fb
  1. 20
      index.html

@ -0,0 +1,20 @@
<!doctype html>
<html lang="en">
<head>
<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">
<title>Document</title>
<script src="dist/index.js" type="module"></script>
</head>
<body>
<button class="tester">test</button>
<script type="module">
import {formatRelativeDate} from "./dist";
console.log(formatRelativeDate(new Date().getSeconds() - 20000, new Date().getSeconds()))
</script>
</body>
</html>
Loading…
Cancel
Save