Skip to content

lastmod requires the output format to be Y-m-d #71

@ZhangChengLin

Description

@ZhangChengLin

public function addItem($location, $lastModified = null, $changeFrequency = null, $priority = null)

https://github.com/samdark/sitemap/blob/master/Sitemap.php#L305
https://github.com/samdark/sitemap/blob/master/Sitemap.php#L354

Can the output format of the lastmod tag support Y-m-d
For example, if it is not an integer format parameter, let him use it directly as a string.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions