sadly we have to say, wordpress is still stuck in 1999 …
[27-Nov-2025 13:40:36 UTC] WTF of timestamp is that? it is 10:40 in Brazil!
how is that amount of ignorance even possible?
that happens until somebody gets rid of the shit, leaves his nice and cosy sofá from last century, smashes his beer can in the trash and does something — here is how:
[27-Nov-2025 10:40:49 America/Sao Paulo] not shorter, but the time is ok
but also you could get
[27-Nov-2025 10:55:19 Etc/GMT+3] well, nice, but still not really good
you can set the debug.log Timestamp to any string suitable to your location according to the original PHP documentations PHP Timezones, another example for Brazil is looking nize and functional
[27-Nov-2025 10:57:13 Brazil/East] This is our favorite timestamp for now
just add the following to your functions.php:
add_action(‘init’, function () {
date_default_timezone_set (‘Brazil/East’);
});
you can change the timezone string to any of the values int the PHP Docs at the link above, and that was the easy way, 5 miutes fix of a 100 year old problem
obviously we do not need a locations description in our logs, certainly we do know where we live, right? anybody does, just wp-devs not, don’t they have a home? and if, it is somewhere in the past …
we are preparing a small php method, which can be used for any php script, to be practical, fully configurable, like this as it would look for Brazil:
[27/11/25 10:59:09] so now we’re talking … right?
just wait for it, you don’t have to wait until 2026 … and just for not to forget, wake up wp devs!
Peace
H.Mich
ready for takeoff to 2026
hakka quote … We grab the bull by the horns—the original images—and build a new, reliable base. We don't just fiddle with the tail, like most do.

Leave a Reply