- Issue created by @promes
- π©πͺGermany gbyte Berlin
Isn't ATOM a subset of ISO8601? How is this a bug? Why am I not surprised to see your username in this issue. ^^
- π³π±Netherlands promes
I should have worded my issue better.
When I read, βAn ISO8601 formatted dateβ, I am assuming: DATE_ISO8601. According to the PHP documentation, this is: DATE_ISO8601 (example: 2005-08-15T15:52:01+0000).
A DATE_ATOM (example: 2005-08-15T15:52:01+00:00) is exactly 1 character longer.
Also, an example ββlastmodβ => β2012-10-12T17:40:30+02:00β,)β requires first looking up which date characters should be used, while ββlastmodβ => date(DATE_ATOM, $changed)β can be copied directly into program code. - Status changed to Closed: works as designed
2 months ago 11:38am 21 October 2024 - π·πΊRussia walkingdexter
When a developer decides to use
DATE_ISO8601
, he will see thatDATE_ISO8601
is deprecated andDATE_ATOM
should be used instead. However, the<lastmod>
date can be formatted in different ways and ATOM format is not the only option.