Open tomschr opened 3 years ago
This is a proof-of-concept and a draft ATM. It contains the following changes:
last.modified
Currently, the parameter $last.modified is used "as-is"; it is included in the respective line no matter if it's a date or not.
However, when a date is passed, it is currently inconsistent with the publication date. This looks like this (English):
Publication Date: October 29, 2020 Last modified: 2020-10-01
That first date is created from this line:
<date><?dbtimestamp format="B d, Y"?></date>
In other words, to make both dates consistent, the last modified date needs to be transformed into the format of the PI inside <date>.
<date>
We need to decide if we want a minimal solution first and improve it later, or, if we want to make it more consistent.
This is a proof-of-concept and a draft ATM. It contains the following changes:
last.modified
for FO and XHTML, by default emptylast.modified
key in language file (currently only en ATM)Currently, the parameter $last.modified is used "as-is"; it is included in the respective line no matter if it's a date or not.
However, when a date is passed, it is currently inconsistent with the publication date. This looks like this (English):
Publication Date: October 29, 2020 Last modified: 2020-10-01
That first date is created from this line:
In other words, to make both dates consistent, the last modified date needs to be transformed into the format of the PI inside
<date>
.We need to decide if we want a minimal solution first and improve it later, or, if we want to make it more consistent.