Home GnuPG

Fix RRULE bugs with week numbers for leading and trailing partial weeks
51a1ac172a35Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix RRULE bugs with week numbers for leading and trailing partial weeks

Summary:
Ref T10747. I only got this partially right:

  • When the last week of the year has less than 4 days, it's counted as the first week of the next year.
  • When the first week of the year has less than 4 days, it's counted as the last week of the prior year.

These rules are sort of crazy, but they work now.

Test Plan: Unit tests now pass.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10747

Differential Revision: https://secure.phabricator.com/D16611

Details

Provenance
epriestley <git@epriestley.com>Authored on Sep 28 2016, 2:06 AM
Parents
rPHUTIL9db0dd4fe2fd: Fix some RRULE bugs with BYWEEKNO
Branches
Unknown
Tags
Unknown

Event Timeline