mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-01 17:31:13 +00:00
Modify header of primary note
This commit is contained in:
parent
72cd3d9d2e
commit
b871a7d6b0
@ -60,6 +60,7 @@
|
|||||||
|
|
||||||
&.primary {
|
&.primary {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.time{
|
.time{
|
||||||
|
@ -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);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user