svelte-time icon indicating copy to clipboard operation
svelte-time copied to clipboard

Svelte component and action to format a timestamp using day.js

Results 7 svelte-time issues
Sort by recently updated
recently updated
newest added

I want to use the relative time, 'a minute ago', but after a couple of hours, I want to switch it to say `04:40 am'.

enhancement

Why its Different from the actual data? how to fix it? the screen like bellow: ```svelte {#if item.PreparedAt} Show: Actual: {item.PreparedAt} {/if} ``` ![image](https://user-images.githubusercontent.com/16133106/188795987-cac09a5a-47ed-4489-af95-4d5eafb93ef9.png)

I'm using the latest release of Sveltekit and I've installed svelte-time as a dev dependency. I'm getting this error at the most basic usage of the module: `` ``` 500...

I installed Svelte with bun, it uses recent versions: ``` "@sveltejs/adapter-auto": "^2.1.1", "@sveltejs/kit": "^1.27.3", "flowbite-svelte": "^0.44.19", "svelte": "^4.2.2", "svelte-check": "^3.5.2", "svelte-time": "^0.8.0", "vite": "^4.5.0" ``` It runs in a lxd...

Hey In my i18n supported website I have a store called `$locale` and it changes the value from `"en"` (English) to `"he"` (Hebrew) and more. I want that whenever a...

Somewhat like this: ```ts import { readable } from "svelte/store" const NOW = readable(new Date(), (set) => { const timer = setInterval(() => set(new Date()), 1000) return () => clearInterval(timer)...

enhancement

Hello, I wonder if you can help with this. Here are snippets of my code ``` import Time, { svelteTime } from "svelte-time"; import { dayjs } from "svelte-time"; .........