utils/index.html
ztimson fa66820c76
All checks were successful
Build / Build NPM Project (push) Successful in 38s
Build / Tag Version (push) Successful in 8s
Build / Publish Documentation (push) Successful in 2m27s
more time utils
2024-11-14 23:29:58 -05:00

16 lines
330 B
HTML

<!Doctype html>
<html>
<head>
<title>@ztimson/utils sandbox</title>
</head>
<body>
<script type="module">
import {adjustTz, formatDate} from './dist/index.mjs';
console.log(formatDate(new Date(), 'HH:mm:ss z'));
console.log(formatDate(adjustTz(new Date(), 0), 'HH:mm:ss z', 'UTC'));
</script>
</body>
</html>