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

Relative mode title format #12

Closed imbolc closed 2 years ago

imbolc commented 2 years ago

Now the timestamp is used as a title in the relative mode. Would you consider changing it to something easy parsable by non-programmers eyes? A title_format prop maybe with the Date.toLocaleString() by default?

metonym commented 2 years ago

Great idea – do you want to work on this?

imbolc commented 2 years ago

I haven't done any Typescript, but I'll try

imbolc commented 2 years ago

https://github.com/metonym/svelte-time/pull/16/

metonym commented 2 years ago

Released in v0.7.0. Thanks again!

imbolc commented 2 years ago

Nice, thank you for the great lib :)