diff --git a/components/details/details-content.tsx b/components/details/details-content.tsx
index ee34d50..0bac399 100644
--- a/components/details/details-content.tsx
+++ b/components/details/details-content.tsx
@@ -380,14 +380,13 @@ export default function DetailContent() {
•
- {new Date(articleDetail?.publishedAt).toLocaleDateString(
- "id-ID",
- {
- day: "numeric",
- month: "long",
- year: "numeric",
- }
- )}
+ {new Date(
+ articleDetail?.publishedAt ?? articleDetail?.createdAt
+ ).toLocaleDateString("id-ID", {
+ day: "numeric",
+ month: "long",
+ year: "numeric",
+ })}
•