2017-05-27, 02:05 AM
(2017-05-26, 07:14 PM)Goobz Wrote: I only have one small issue with this otherwise cool plug-in. No matter where and how I change the time settings on the board, it continues to display the generic "UTC" in the Profile View. I took a few pics to show you what I am talking about.
I have the board time set for -8 w/DST Enabled. My local time is -7 w/NO DST Observed, and I made sure the profile in question had the correct time of -7 w/NO DST.
What am I missing.. It won't be the death of the board to have it with UTC, but unless you are someone like me who HAS to know UTC time (General Aviation Pilot), then it makes people guess.. lol
Any and all help is appreciated in advance! Have a great 3-Day weekend for most!
This is on my end, not yours! The issue is that the plugin displays the date using PHP's built-in date() function which displays the date in the default timezone of the server PHP is running on (I believe?). Might be just UTC by default, not sure honestly.
I've actually fixed this mostly in the next update but I've been busy with real life and haven't finished up 2.0 yet. Give me until tomorrow or so and I should be able to get you a temporary workaround using MyBB's my_date(), which takes timezones into account when formatting the date.