Fix build

This commit is contained in:
Hazem Krimi
2023-07-01 00:48:29 +01:00
parent 5e01140d6e
commit 193e285569
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,9 +18,9 @@ export const getBlogPosts = () => {
const { data } = matter(fileContents);
const options = { month: 'long', day: 'numeric', year: 'numeric' };
// @ts-ignore
const formattedDate = new Date(data.date).toLocaleDateString(
'en-IN',
// @ts-ignore
options
);
+1 -1
View File
@@ -18,9 +18,9 @@ export const getProjects = () => {
const { data } = matter(fileContents);
const options = { month: 'long', day: 'numeric', year: 'numeric' };
// @ts-ignore
const formattedDate = new Date(data.date).toLocaleDateString(
'en-IN',
// @ts-ignore
options
);