Skip to content

Commit

Permalink
Revert misskey-dev#10475 in MkTime
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina authored and na2na-p committed May 10, 2023
1 parent e95ec45 commit d314d52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/frontend/src/components/global/MkTime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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',
});
Expand Down

0 comments on commit d314d52

Please sign in to comment.