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

Add support for timezones #40

Closed gordysc closed 5 months ago

gordysc commented 6 months ago

Aloha! I wanted to leverage the timezone plugin from dayjs with this library so I've added an optional timezone prop people could use for that. Thoughts on this approach?

gordysc commented 5 months ago

Sounds like a great idea. Thanks for taking the time to consider and the feedback 🙏🏻