Revert #10475 in MkTime

This commit is contained in:
tamaina 2023-04-13 03:38:43 +00:00
parent 9bb6c536c0
commit 7d11cf8ec9

View file

@ -8,7 +8,6 @@
</template>
<script lang="ts" setup>
import isChromatic from 'chromatic/isChromatic';
import { onUnmounted } from 'vue';
import { i18n } from '@/i18n';
import { dateTimeFormat } from '@/scripts/intl-const';
@ -18,7 +17,7 @@ const props = withDefaults(defineProps<{
origin?: Date | null;
mode?: 'relative' | 'absolute' | 'detail';
}>(), {
origin: isChromatic() ? new Date('2023-04-01T00:00:00Z') : null,
origin: null,
mode: 'relative',
});