Compare commits

...

2 Commits

4 changed files with 4 additions and 4 deletions

View File

@ -602,7 +602,7 @@ const getPressReleasesDisplay = () => {
if (res.status === 200) { if (res.status === 200) {
if (res.data.status === 0) { if (res.data.status === 0) {
res.data.data?.data?.forEach((item) => { res.data.data?.data?.forEach((item) => {
item.time = new Date(item.createdAt).toLocaleDateString("en-US", { item.time = new Date(item.date).toLocaleDateString("en-US", {
month: "long", month: "long",
day: "numeric", day: "numeric",
year: "numeric", year: "numeric",

View File

@ -602,7 +602,7 @@ const getPressReleasesDisplay = () => {
if (res.status === 200) { if (res.status === 200) {
if (res.data.status === 0) { if (res.data.status === 0) {
res.data.data?.data?.forEach((item) => { res.data.data?.data?.forEach((item) => {
item.time = new Date(item.createdAt).toLocaleDateString("en-US", { item.time = new Date(item.date).toLocaleDateString("en-US", {
month: "long", month: "long",
day: "numeric", day: "numeric",
year: "numeric", year: "numeric",

View File

@ -391,7 +391,7 @@ const getPressReleasesDisplay = () => {
if (res.status === 200) { if (res.status === 200) {
if (res.data.status === 0) { if (res.data.status === 0) {
res.data.data?.data?.forEach((item) => { res.data.data?.data?.forEach((item) => {
item.time = new Date(item.createdAt).toLocaleDateString("en-US", { item.time = new Date(item.date).toLocaleDateString("en-US", {
month: "long", month: "long",
day: "numeric", day: "numeric",
year: "numeric", year: "numeric",

View File

@ -561,7 +561,7 @@ const getPressReleasesDisplay = () => {
if (res.status === 200) { if (res.status === 200) {
if (res.data.status === 0) { if (res.data.status === 0) {
res.data.data?.data?.forEach((item) => { res.data.data?.data?.forEach((item) => {
item.time = new Date(item.createdAt).toLocaleDateString("en-US", { item.time = new Date(item.date).toLocaleDateString("en-US", {
month: "long", month: "long",
day: "numeric", day: "numeric",
year: "numeric", year: "numeric",