Changes between Initial Version and Version 1 of Ticket #5781, comment 19
- Timestamp:
- 09/03/2016 04:54:00 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5781, comment 19
initial v1 4 4 5 5 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. 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 11 You're technically correct, but other plugins could, in theory, modify the timezone. Patch could still be applied to babyproof our timezone calls.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)