i have a problem with wordpress:
there is an input field of type 'time', where the value currently looks like:

<?php echo strftime('%H:%M', $event_time_from); ?>

My issue is that it counts an hour up each time the post is saved, does anybody know why? Tried to put date_default_timezone_set('Europe/Berlin'); there too without a difference... .

but i also needed the date_default_timezone_set("Europe/Berlin"); because otherwise it was counting backwards in production haha


now got a report that it counts two hours back... veeeery funny, i tested it multiple times -.-

got a followup that it only affects the frontend which i just assumed was fine^^

Sign in to participate in the conversation

One of the first Mastodon instances, there is no specific topic we're into, just enjoy your time!