Compare commits
2 Commits
2c18ca6420
...
a43f4b3b33
| Author | SHA1 | Date | |
|---|---|---|---|
| a43f4b3b33 | |||
| ece46069aa |
@ -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",
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user