As far as I'm aware, @mknavy is the source of the patch. I simply took the initiative to throw together the formula that works for us -- and seemingly a few others -- based on the information from the discussion page.

It hasn't been reported upstream AFAIK.