fix: month format of publish and updated date fixed
All checks were successful
Release to Staging / build_and_release (push) Successful in 41s

This commit is contained in:
daniyal 2024-08-13 18:22:25 +05:00
parent ff737e5486
commit e06cec84fb

View File

@ -517,7 +517,7 @@ const PublishDetails = ({
<p className='IBMSMSMBSSPost_PDElementText'>
{formatDate(
(published_at !== -1 ? published_at : edited_at) * 1000,
'dd/m/yyyy'
'dd/MM/yyyy'
)}
</p>
</div>
@ -538,7 +538,7 @@ const PublishDetails = ({
<path d='M362.7 19.32C387.7-5.678 428.3-5.678 453.3 19.32L492.7 58.75C517.7 83.74 517.7 124.3 492.7 149.3L444.3 197.7L314.3 67.72L362.7 19.32zM421.7 220.3L188.5 453.4C178.1 463.8 165.2 471.5 151.1 475.6L30.77 511C22.35 513.5 13.24 511.2 7.03 504.1C.8198 498.8-1.502 489.7 .976 481.2L36.37 360.9C40.53 346.8 48.16 333.9 58.57 323.5L291.7 90.34L421.7 220.3z' />
</svg>
<p className='IBMSMSMBSSPost_PDElementText'>
{formatDate(edited_at * 1000, 'dd/m/yyyy')}
{formatDate(edited_at * 1000, 'dd/MM/yyyy')}
</p>
</div>
<a