Forums

How to cope with past centuries date ? (6 posts)

  1. reboltutorial
    Member
    Posted 2 years ago #

    I want to setup a historical blog with date < 17th century, but wordpress doesn't cope with these kind of dates ?

    How to solve this problem ? Should I write directly to the database by bypassing WordPress ?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    That won't help. Any date before Jan 1 1970 could be problematic and may not display correctly. I think you need to leave the post date alone but use a custom field to enter your historical date. Then you could edit your theme's templates to use this custom date in place of the post date.

  3. reboltutorial
    Member
    Posted 2 years ago #

    Yes but the problem is sorting the post by date then.

  4. ryans149
    Member
    Posted 2 years ago #

    yea, I think you can edit the database to change the date..

  5. Mark / t31os
    Moderator
    Posted 2 years ago #

    You can sort posts by meta value, so using a custom field would be a solution as esmi stated.

  6. gosunatxrea
    Member
    Posted 2 years ago #

    Backdated pre-1st January 1970 post displayed as published on the current viewing day
    http://core.trac.wordpress.org/ticket/10332

    Bug with backdated post before 1 January 1970 - wp2.8
    http://wordpress.org/support/topic/285531?replies=15

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags