[buddypress-trac] [BuddyPress Trac] #5500: Date xprofile field enhancement

buddypress-trac noreply at wordpress.org
Thu Jul 30 15:28:51 UTC 2015

#5500: Date xprofile field enhancement
 Reporter:  sooskriszta              |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  2.4
Component:  Component - XProfile     |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |

Comment (by DJPaul):

 The 2037 thing was to prevent bugs based on how PHP handles dates on 32bit
 operating systems. I know it was a UI-only "fix" because people can send
 whatever value in the form submission, but figured that was a harmless
 edge case. See https://en.wikipedia.org/wiki/Year_2038_problem (I took one
 year off of that for safety).

 I forget why I took it down to 1902, but probably a related reason.

 As long as we can dynamically find out the maximum year supported in PHP,
 we should be able to implement the restriction only for affected sites.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5500#comment:23>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list