We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c956972 commit 5083d58Copy full SHA for 5083d58
src/Providers/Dcterms.php
@@ -59,6 +59,10 @@ public function getAuthorName()
59
*/
60
public function getPublishedTime()
61
{
62
- return $this->bag->get('date');
+ foreach (['date', 'date.created', 'date.issued'] as $key) {
63
+ if ($found = $this->bag->get($key)) {
64
+ return $found;
65
+ }
66
67
}
68
src/Providers/Html.php
@@ -142,8 +142,6 @@ public function getPublishedTime()
142
'article:published_time',
143
'created',
144
'date',
145
- 'date.created',
146
- 'date.issued',
147
'datepublished',
148
'datePublished',
149
'newsrepublic:publish_date',
0 commit comments