Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to set 'date created' #11

Open
trailjeep opened this issue Nov 4, 2021 · 3 comments
Open

Fails to set 'date created' #11

trailjeep opened this issue Nov 4, 2021 · 3 comments

Comments

@trailjeep
Copy link

Latest version correctly sets all but the date in the following example:

~~META:
title                 = Example
&creator              = AUTHOR
&date created         = 2014-12-03
&description abstract = This is a test
&source               = http://www.example.org/
~~

Replaced syntax.php with 2015-07-24 version and all works as expected.

@mightymt
Copy link

mightymt commented Aug 2, 2022

I can confirm this behaviour, only just noticed it today.

The problem seems to be, that the current version of the plugin writes the dates to a nested sub-array:

   [date] => Array
        (
            [created] => 1643816481
            [modified] => 1659457322
            [0] => Array
                (
                    [created] => 949506081
                    [modified] => 1659457322
                )

        )

Version 2015-07-24 instead correctly modifies the default array elements:

    [date] => Array
        (
            [created] => 949506081
            [modified] => 1659457322
        )

@BodoBiker
Copy link

BLOG plugin doesn't sort correct date created anymore after update META plugin.
How is the status of this issue? Will it be fixed/ updated?

gamma added a commit to gamma/plugin-meta that referenced this issue Oct 18, 2022
fixes dokufreaks#11 with the creation dates
@sersorrel
Copy link

The commit above (gamma@03a503f) seems to solve the problem. @gamma would you have any interest in opening a PR for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants