Timezone is wrong when picking city (Copenhagen)
The timezone-setting (in ‘Settings’ >> ‘Generel’ >> ‘Timezone’), seems to be ignored. I’ve set it to be ‘Copenhagen’ (value: Europe/Copenhagen).
The timezone-setting (in ‘Settings’ >> ‘Generel’ >> ‘Timezone’), seems to be ignored. I’ve set it to be ‘Copenhagen’ (value: Europe/Copenhagen).
My workaround at the moment, within a shortcode, is to just copy the WP native code to get the Timezone within my (namespaced) class:
Can someone tell me how to get the time zone that is set in the WordPress Admin?
These are the functions I use in my theme to display the “entry-meta” which includes published and last modified dates (among others) of an article: