ваше сообщение коммита

This commit is contained in:
2025-06-01 15:13:52 +03:00
parent 5eda7a35c6
commit 6fcb9486c9
34 changed files with 3044 additions and 1226 deletions

View File

@@ -0,0 +1,16 @@
<template>
<span>{{ formatted }}</span>
</template>
<script setup>
import { computed } from 'vue';
const props = defineProps({ value: String });
const formatted = computed(() => {
if (!props.value) return '';
const d = new Date(props.value);
if (isNaN(d)) return props.value;
return d.toISOString().slice(0, 10);
});
</script>
<style scoped>
span { color: #3a3a3a; }
</style>