Modify header of primary note

This commit is contained in:
Bojan Mojsilovic 2024-02-06 13:58:21 +01:00
parent 72cd3d9d2e
commit b871a7d6b0
2 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@
&.primary { &.primary {
font-weight: 700; font-weight: 700;
font-size: 16px;
} }
} }
.time{ .time{

View File

@ -13,7 +13,7 @@ export const longDate = (timestamp: number | undefined) => {
return ''; return '';
} }
const date = new Date(timestamp * 1000); const date = new Date(timestamp * 1000);
const dtf = new Intl.DateTimeFormat('en-US', { dateStyle: 'full', timeStyle: 'short'}); const dtf = new Intl.DateTimeFormat('en-US', { dateStyle: 'medium', timeStyle: 'short'});
return dtf.format(date); return dtf.format(date);
}; };