Compare commits
No commits in common. "279176801b317e1ee5755c585a7880ef70b54155" and "93ba2a60f040315a2db7de9ab78608264368907e" have entirely different histories.
279176801b
...
93ba2a60f0
@ -1,10 +0,0 @@
|
||||
---
|
||||
title: Eurex Clearing OTC IRS (Calypso) Assets in C7 CAS
|
||||
goal: Enable the clearing member to manage his OTC IRS assets in a digital way
|
||||
role: Software developer helping with the integration
|
||||
date: Feb 2024 - Jun 2024
|
||||
z: 9
|
||||
---
|
||||
|
||||
This project aims to provide a Clearing Member with the functionality to view, create and update the OTC IRS Calypso products and currencies.
|
||||
|
@ -14,19 +14,6 @@ export const getContent = (slug: string[]): GrayMatterFile<string> => {
|
||||
if (!contentMap[p]) {
|
||||
const file = fs.readFileSync(p, "utf8");
|
||||
const m = matter(file);
|
||||
const date = m.data.date;
|
||||
if (date) {
|
||||
m.data.date = "";
|
||||
const d = date.split("-");
|
||||
const from = d[0]?.trim();
|
||||
const to = d[1]?.trim();
|
||||
if (from) {
|
||||
m.data.date += new Date(from).toDateString()
|
||||
}
|
||||
if (to) {
|
||||
m.data.date += ` - ${new Date(to).toDateString()}`
|
||||
}
|
||||
}
|
||||
m.data.slug = `/c/${slug.join("/")}`;
|
||||
contentMap[p] = m;
|
||||
return m;
|
||||
|
Loading…
Reference in New Issue
Block a user