Ben Byrne

Results 7 comments of Ben Byrne

I've handled this issue with something like this: ``` $hour = 12; // Get your hour value from... wherever. // Compute offset from server time in hours and adjust our...

That's definitely more robust for handling timezones that are not just off by hours, e.g. India and Newfoundland. Nice! Be careful using `gmt_offset` though, newer WP environments utilize `timezone_string` instead...

It's open source, though, so in theory anyone should be free to pick it up and start maintaining it...

> @Aurion72 Yes, some big updates are coming soon. I was excited to read this but am wondering what was meant by "soon" — hopefully @jlmakes is okay!

Just want to say thanks to @manspouse for this fix. Note that in current version of selectBox, the code fix needs to get dropped in around line 86.

FWIW, I'd love to see this in wp-cli. Always add this package to all my wp-cli instances.