Homec4science

When resolving a relative date, only ignore the viewer timezone if the date has…

Authored by epriestley <git@epriestley.com> on Dec 2 2016, 13:19.

Description

When resolving a relative date, only ignore the viewer timezone if the date has a timezone

Summary: Ref T11801. In some cases, we generate a relative date without having a timezone. In these cases, use the viewer timezone.

Test Plan:

  • Added a failing test case and made it pass.
  • Imported the event from T11801#202293, which failed before this change and worked after it.
  • Also added a reduced version of that event as a .ics test case since I caught a different bug. See next change.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11801

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

Details

Committed
epriestley <git@epriestley.com>Dec 2 2016, 16:31
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUde65ac554ca3: Let PhutilTypeLexer support qualified names
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU213c7339ccd3: When resolving a relative date, only ignore the viewer timezone if the date has… (authored by epriestley <git@epriestley.com>).Dec 2 2016, 16:31