Page MenuHomePhabricator

Ignore Calendar date edits which just change the internal date timezone without rescheduling it
ClosedPublic

Authored by epriestley on Nov 28 2016, 5:20 PM.
Tags
None
Referenced Files
F14055968: D16955.diff
Sat, Nov 16, 5:09 PM
F13992042: D16955.id40805.diff
Tue, Oct 22, 2:03 PM
F13980434: D16955.diff
Oct 19 2024, 10:38 AM
Unknown Object (File)
Oct 13 2024, 4:02 PM
Unknown Object (File)
Aug 28 2024, 10:59 AM
Unknown Object (File)
Aug 19 2024, 2:56 PM
Unknown Object (File)
Aug 12 2024, 10:00 PM
Unknown Object (File)
Aug 12 2024, 10:00 PM
Subscribers
None

Details

Summary

Ref T11816. Currently, if someone in California creates an event and then someone in New York edits it, we generate a no-op "<user> changed the start time from 3PM to 3PM." transaction.

This is because the internal timezone of the event is changing, but the actual absolute time is not.

Instead, when an edit wouldn't reschedule an event and would only change the internal timezone, ignore the edit.

Test Plan
  • Edited non-all-day events in PST / EST with out making changes (ignored).
  • Edited non-all-day events in PST / EST with changes (changes worked).
  • Performed the same edits with all-day events, which also were ignored and worked, respectively.
  • Pulled events in and out of all-day mode in different timezones, behavior seemeed reasonable.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Ignore Calendar date edits which just change the internal date timezone without rescheduling it.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Nov 28 2016, 6:29 PM
This revision was automatically updated to reflect the committed changes.