[webkit-changes] [WebKit/WebKit] 48759d: bugs.webkit.org internal server error when limitin...

Ling Ho noreply at github.com
Thu Jun 1 18:10:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 48759ded673b7c57b5f8bf04104bb7508098ea56
      https://github.com/WebKit/WebKit/commit/48759ded673b7c57b5f8bf04104bb7508098ea56
  Author: Ling Ho <lingho at apple.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M Websites/bugs.webkit.org/Bugzilla/Search.pm

  Log Message:
  -----------
  bugs.webkit.org internal server error when limiting search by 1 month
https://bugs.webkit.org/show_bug.cgi?id=257546
rdar://110075621

Reviewed by Alexey Proskuryakov.

Fixed SqlifyDate function in Bugzilla/Search.pm such that it multiplies month by 31 days and returns valid date.
Previously it would change only the month and keep the day of the month the same, causing invalid dates to be
returned depending on certain dates and how far to go back to.

* Websites/bugs.webkit.org/Bugzilla/Search.pm:
(SqlifyDate):

Canonical link: https://commits.webkit.org/264820@main




More information about the webkit-changes mailing list