metonym / svelte-time

Svelte component and action to format a timestamp using day.js
https://metonym.github.io/svelte-time
MIT License
137 stars 8 forks source link

As great as this plugin is, dayjs is blocking the way #21

Closed haysquareA closed 2 years ago

haysquareA commented 2 years ago

I love this plugin as it is all you need regarding what it does, but dayjs is blocking the way to usability.

metonym commented 2 years ago

I published v0.7.1 which switches the dayjs imports back to CJS from ESM.

This should unblock usage of this library with SvelteKit. The current downside is that it doesn't work with Snowpack, which I've recorded as a known issue.


EDIT August 1, 2022

Snowpack is no longer maintained.