Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #5781, comment 19


Ignore:
Timestamp:
09/03/2016 04:54:00 PM (3 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5781, comment 19

    initial v1  
    44
    55I'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.
     6
     7'''Update''' - Missed this part:
     8
     9> Today however, WordPress always sets the default timezone to UTC, so date(), time(), and strtotime() will return UTC times by default. This is reflected in newer code.
     10
     11You're technically correct, but other plugins could, in theory, modify the timezone.  Patch could still be applied to babyproof our timezone calls.