mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Fix build
This commit is contained in:
+1
-1
@@ -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
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user