Skip to content

Commit

Permalink
revert: Revert #10475 in MkTime
Browse files Browse the repository at this point in the history
This reverts commit 7d11cf8.
  • Loading branch information
acid-chicken committed Apr 13, 2023
1 parent 18b70ae commit deed9ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/frontend/src/components/global/MkTime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</template>

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

0 comments on commit deed9ab

Please sign in to comment.