[buddypress-trac] [BuddyPress Trac] #5781: strtotime() is evil don't use it

buddypress-trac noreply at wordpress.org
Sat Sep 3 16:41:25 UTC 2016


#5781: strtotime() is evil don't use it
--------------------------+-----------------------
 Reporter:  r-a-y         |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  2.7
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by r-a-y):

 Thanks for the interest, @jdgrimes.

 This ticket has nothing to do with WordPress date settings and everything
 to do with the server that WordPress is hosted on and whether they have
 set the default timezone to something other than UTC.

 I've attached a unit test -
 [https://buddypress.trac.wordpress.org/attachment/ticket/5781/5781
 .strtotime-unit-test.patch strtotime-unit-test.patch] - that outlines my
 example.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5781#comment:19>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list