Skip to content

Commit 2528e84

Browse files
committed
feat(feed-item): update timestamp format
1 parent 51384c3 commit 2528e84

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/feed-item.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<li class="feed-item">
3-
<time class="feed-item__timestamp">{{ data.date }}:</time>
3+
<time class="feed-item__timestamp">{{ data.date }}</time>
44
<component :is="icon.component" :style="{ stroke: icon.color }" class="feed-item__icon" />
55
<span v-if="data.username.includes('github-actions')" class="feed-item__accent">
66
{{ data.username }}

src/store/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const useEventsStore = createGlobalState(() => {
103103
id: event.id,
104104
type: event.type,
105105
repo: event.repo.name,
106-
date: dayjs(event.created_at).format("DD MMMM HH:mm"),
106+
date: dayjs(event.created_at).format("DD MMM, HH:mm"),
107107
username: event.actor.display_login ?? event.actor.login,
108108
action: getActionString(event),
109109
eventUrl: composeEventUrl(event)

0 commit comments

Comments
 (0)