• Resolved hupe13

    (@hupe13)


    If I use the date() in my plugin, I get the error:

    date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

    But sometimes the timezone is important. If I use wp_date() the error is gone and the time is correct. Is it possible to change the error message?

    • This topic was modified 11 months, 1 week ago by hupe13.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘date, gmdate, wp_date’ is closed to new replies.