[wp-trac] [WordPress Trac] #10780: historical dates (pre 1-1-1970) not possible

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 13 12:29:44 UTC 2009


#10780: historical dates (pre 1-1-1970) not possible
--------------------------+-------------------------------------------------
 Reporter:  herko         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Unassigned     
Component:  Date/Time     |     Version:  2.8.4          
 Severity:  normal        |    Keywords:  historical date
--------------------------+-------------------------------------------------
 In a fresh install of WP 2.8.4, running on Linux, php 5 (on MediaTemple
 GridServer), when trying to change the date of a post to 1814 (or any pre
 1-1-1970 date, for that matter), the date is changed automagically to
 1-1-1970, including the permalink %day% %month% and %year% values.
 Thus, rendering it impossible to create an archive of historical, pre-1970
 content.

 In this wp-forums thread it is discussed:
 http://wordpress.org/support/topic/285531?replies=12, and a solution is
 suggested here:
 http://core.trac.wordpress.org/attachment/ticket/10332/functions.php.diff

 But removing those lines does not solve the bug. So it must be somewhere
 else where there is a check on negative date values in WP 2.8.4.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10780>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list