Skip to content

Commit

Permalink
Merge pull request #310 from m0-foundation/fix/epoch-date-format
Browse files Browse the repository at this point in the history
hot fix date format
  • Loading branch information
ernaneluis authored Jul 12, 2024
2 parents 7e05fa8 + 12187b1 commit 847a947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/proposals.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ const { epoch } = storeToRefs(ttg);

const currentEpochAsDate = computed(() => {
const { toFormat } = useDate(Number(epoch.value.current?.asTimestamp));
return toFormat("d MMM, hh:mm A");
return toFormat("D MMM, hh:mm A");
});

const nextEpochAsDate = computed(() => {
const { toFormat } = useDate(Number(epoch.value.next?.asTimestamp));
return toFormat("d MMM, hh:mm A");
return toFormat("D MMM, hh:mm A");
});

const getTimeLeft = () => {
Expand Down

0 comments on commit 847a947

Please sign in to comment.