OMP 3.4.0.9
Server Information
OS platform Linux
PHP version 8.2.30
Apache version Apache
Database driver mysql
Database server version 10.5.29-MariaDB
I’m working with OMP 3.4.0.9 x and I’m seeing behavior around publication dates that I don’t fully understand.
On the frontend, there is one article are displayed as:

January 12, 2026 — Updated on January 11, 2023
Published is always today’s date. Updated on is always shows yesterday date. The book was not updated (recently at least).
This comes from the following template logic (simplified):
{if $firstPublication->getID() === $publication->getId()}
{$firstPublication->getData('datePublished')|date_format}
{else}
{translate key="submission.updatedOn"
datePublished=$firstPublication->getData('datePublished')|date_format
dateUpdated=$publication->getData('datePublished')|date_format}
{/if}
For this publications :$firstPublication and $publication have different IDs
Looking at API submission
This is the data
“publications”: [
{
“_href”: “http://localhost:8080/index.php/home/api/v1/submissions/202/publications/212”,
“datePublished”: null,
“doiObject”: null,
“id”: 212,
“status”: 1,
“submissionId”: 202,
“urlPublished”: “http://localhost:8080/index.php/home/catalog/book/202/version/212”,
“version”: 1
},
{
“_href”: “http://localhost:8080/index.php/home/api/v1/submissions/202/publications/213”,
“datePublished”: “2021-01-12”,
“doiObject”: null,
“id”: 213,
“status”: 1,
“submissionId”: 202,
“urlPublished”: “http://localhost:8080/index.php/home/catalog/book/202/version/213”,
“version”: 2
},
{
“_href”: “http://localhost:8080/index.php/home/api/v1/submissions/202/publications/214”,
“datePublished”: “2021-01-12”,
“doiObject”: {
“contextId”: 1,
“doi”: “10.5074/T.2021.001”,
“id”: 148,
“registrationAgency”: null,
“resolvingUrl”: “https://doi.org/10.5074/T.2021.001”,
“status”: 1
},
“id”: 214,
“status”: 1,
“submissionId”: 202,
“urlPublished”: “http://localhost:8080/index.php/home/catalog/book/202/version/214”,
“version”: 3
},
{
“_href”: “http://localhost:8080/index.php/home/api/v1/submissions/202/publications/215”,
“datePublished”: “2023-01-11”,
“doiObject”: {
“contextId”: 1,
“doi”: “10.10.abc/12345”,
“id”: 149,
“registrationAgency”: null,
“resolvingUrl”: “https://doi.org/10.abc/12345”,
“status”: 5
},
“id”: 215,
“status”: 3,
“submissionId”: 202,
“urlPublished”: “http://localhost:8080/index.php/home/catalog/book/202/version/215”,
“version”: 4
}
],
Any idea of why this is happening and how to fix it?