Minor issue – Stats default timerange UTC-based
-
I’ve tagged this as a minor issue…hopefully it won’t come across as being too nitpicky ??
Minor Issue:
The stataway shortcode displays a default stats range with an end date of “now” but “now” is not reflecting the local timezone (Australia in this case). So for me, being in Australia, “now” gets displayed as yesterday. I just raise it as a minor issue only because when I uploaded a file and looked at the stats it did not appear. It took me a minute and a bit of head scratching to realise that the default display range for stataway was showing uploads up to yesterday (Australian time) and today’s uploads were not being displayed. I just had to click on it to select today’s date (in Australia) for the files to appear so it’s pretty minor in the scheme of things. Others might not make that connection though.NOTE: I noticed that the plugin code sets the default timezone and I have the WordPress Timezone correctly set in WordPress Settings so I’m not sure what the culprit is for this issue. It appears a United States timezone is being used rather than the Australian timezone configured in WordPress…once the U.S. date and Australian date aligned the stataway shortcode user interface displayed the correct “now”.
Thoughts?
PS: I’ll poke around at this further to see if I can figure out where the issue is. First pass debugging did not yield any suspects. Code all looks good.
————
Don’t worry about the world coming to an end today. It is already tomorrow in Australia. Charles M. Schulz
————
- The topic ‘Minor issue – Stats default timerange UTC-based’ is closed to new replies.