Support » Fixing WordPress » Historical Times and Dates

  • Hi all,

    (I am running wp on an Ubuntu machine.)

    I would like to include back-dated posts into my blog, even from the 1870s.

    Is ist possible to pimp up the date-format, so that I can use historical dates?

    What is the eldest date, I can use in wp? It seems to be younger than 1900 but older than 1970 (unix time stamp).

    Is it possible to improve the standard timeline for 10000 posts, like facebook does with the chronicle?

    Regards and thanks

    CJC

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hallo,

    I still have problems to enter dates before 1901.
    The table wp_posts includes the row post_date, whose limits should be from 1000-01-01 00:00:00′ und ‘9999-12-31 23:59:59, if you consider the mysql type datetime.

    The range of date in php is also from 1000 to 9999. So:

    Why are historical dates (before 1902 or 1901) set to 2012 or 1970 if i try to enter them?

    Regards and thanks

    CJC

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Several places in the code use the unix-timestamp for storing datetimes. The starting point of the unix timestamp is 1-1-1970. Therefore it’s not possible to store posts with earlier dates than that without significant re-working of the code.

    Note: This depends mostly on your PHP version. WordPress itself will support negative dates if the underlying PHP supports it, which started around 5.1, I think. See http://core.trac.wordpress.org/ticket/10332 for more info.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Historical Times and Dates’ is closed to new replies.