13/05/2018

The archive contains older posts which may no longer reflect my current views.

# I completely forgot that Smokey forked the code to add the date as a title and, even at the time, it didn't register that this fixed the DST issue (Probably because I was in GMT at the time so it wasn’t apparent.)

Rather than manually inserting the time zone he pulls it from the database:

date_default_timezone_set(get_option('timezone_string'));

A far more elegant solution.

1 comment: click to read or leave your own Comments