mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Fix relativeTimestamp function to get timestamp in ms
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
export let timestamp: number | undefined = undefined;
|
||||
|
||||
const relativeTimestamp = (time: number | undefined) =>
|
||||
time ? new Date(time).toISOString() : undefined;
|
||||
time ? new Date(time * 1000).toString() : undefined;
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user