On Thu, 30 Jun 2022 18:29:42 GMT, Gaurav Chaudhari <d...@openjdk.org> wrote:
> One more thing to note/I'd like to make sure is what the output looks like > when TZ is GMT. Want to ensure that the final string being passed down is > just "GMT" and that `strftime` invocation returns an empty result. If the > result is coming out to be slightly different, then it could be a problem. You could compare GMT's hour/miute with localtime's. If they are identical, then return "GMT". For that, we may end up reviving `#if defined (MACOSX)` since macOS's tm struct has `tm_gmtoff`, but limited to that piece of code. ------------- PR: https://git.openjdk.org/jdk/pull/9312