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

buddypress-trac noreply at wordpress.org
Thu Jan 19 02:23:11 UTC 2017


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

Comment (by boonebgorges):

 It turned out in my case that there was a plugin running
 `date_default_timezone_set()` and setting it to something other than UTC.
 This was causing problems when BP started saving stuff as UTC. Once I let
 WP handle timezones, things seemed to correct themselves.

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


More information about the buddypress-trac mailing list