[webkit-reviews] review granted: [Bug 269999] AX: VoiceOver reports the datetime value in the wrong time zone. : [Attachment 470033] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 23 13:59:08 PST 2024


chris fleizach <cfleizach at apple.com> has granted Andres Gonzalez
<andresg_22 at apple.com>'s request for review:
Bug 269999: AX: VoiceOver reports the datetime value in the wrong time zone.
https://bugs.webkit.org/show_bug.cgi?id=269999

Attachment 470033: Patch

https://bugs.webkit.org/attachment.cgi?id=470033&action=review




--- Comment #6 from chris fleizach <cfleizach at apple.com> ---
Comment on attachment 470033
  --> https://bugs.webkit.org/attachment.cgi?id=470033
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=470033&action=review

> Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:1519
> +    return -1 * [[NSTimeZone localTimeZone] secondsFromGMTForDate:now];

this can be a 1 liner now!

return -1 * [[NSTimeZone localTimeZone] secondsFromGMTForDate:[NSDate date]];


More information about the webkit-reviews mailing list