Page MenuHomePhabricator

Fix calendar display on profile.
ClosedPublic

Authored by btrahan on Feb 25 2014, 9:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 11, 6:45 AM
Unknown Object (File)
Sat, Sep 7, 5:13 PM
Unknown Object (File)
Wed, Aug 28, 11:54 AM
Unknown Object (File)
Sun, Aug 25, 8:15 AM
Unknown Object (File)
Aug 18 2024, 4:55 PM
Unknown Object (File)
Aug 9 2024, 11:55 AM
Unknown Object (File)
Aug 8 2024, 4:31 AM
Unknown Object (File)
Aug 4 2024, 5:30 AM

Details

Reviewers
epriestley
chad
Commits
Restricted Diffusion Commit
rPb1e44239ba11: Fix calendar display on profile.
Summary

...maybe anyway because I can't reproduce it live. This diff does two things that should help with bugginess though - uses $viewer rather than $user (...$user is who we are looking at...) *AND* upgrades a Conpherence util class to Calendar, and said util class has unit tests and came about from fixing a similar bug in Conpherence back in the day.

Wrote some comments in the util class because I think it has a tendency to trip people up. These comments are not partciularly good however.

Test Plan

viewed user profile - looked good. viewed conpherence - looked good. ran unit tests - they passed. (note I would also like to push this live and verify Chad's profile is fixed on secure.phabricator.com)

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

...well, this seems to have gone horribly wrong now that I pushed it live. :) Expect another diff soon.