WordPress.org

Ready to get started?Download WordPress

Forums

date under 1970 (4 posts)

  1. ElCondorre
    Member
    Posted 8 years ago #

    hi!
    I'm preparing some retro blog with events from the begining of the 20 century. So I set post date for example on 20 Jan 1923. The date are stored correctly in the database but it is displayed as 1969-12-31.
    When I test it on localhost it looks OK but in the server I got strange 1969-12-31.
    I suppose that there is some conversion date to integer. How could I fix it??.

  2. moshu
    Member
    Posted 8 years ago #

    How could I fix it??
    Fixing PHP? ;)
    Seriously, that's a limitation of PHP. See this thread:
    http://wordpress.org/support/topic/5802?replies=10
    and you can also google for "date before 1969".

  3. ElCondorre
    Member
    Posted 8 years ago #

    Thanks, I followed link you posted and I've found workaround for it. Now it works!

  4. Dgold
    Member
    Posted 8 years ago #

    could you give a hint on the workaround or a direct link to what you did?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags