Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Currently not. You can only change the timestamp in the database directly.
    It is on the todolist :).

    Hi Marcel, a really nice and clean plugin you’ve coded, thanks for that so far. I was also trying to change the date within the sql database, but how to import the entries without a date or a older date from the database? I have changed the entries in that DB, but on the site itself, all entries still are dates shwoing. To be presizly, how can i change the date in a string like this “1427973942” to an date in 2009 for example, cause i’ve got some older entries, and i want them to appear with the correct date?

    Bastie

    Plugin Author Marcel Pol

    (@mpol)

    Hmm, I’m not sure where your entries are coming from. Do you have a csv with entries? How exactly do you do the import?

    The current importer (from csv) will check if the date-field is a timestamp, and if not it will try to convert it. So essentially you can use anything you like.

    If they are already in the database then only a unix timestamp is considered valid.

    Hi Marcel, i have written the old entries manually in the guestbook, cause i only have a screenshot from the old website, there are just 6 entries. Then i saw the date from today, and the idea was, to export the entries into that csv file, change the date in that csv file and then to import the entries with “older” dates. But i only have the time stamps like “1427986948” in both, the csv file and the MySQL database. But you said this is a “unix timestamp”? This could be the keyword, so i try to figure out, how to change a unix time…

    OK, i think this works for me: https://www.timestampgenerator.com/ i can create the “older” unix timestamps, and then change it in the database.

    I need to learn more ??

    Plugin Author Marcel Pol

    (@mpol)

    Ah, that is a really interesting link. It should be added to the readme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Ability to edit post date’ is closed to new replies.