Ref T4393, Refactor logic for getting next/prev month and day on month and day views, respectively
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T4393: Implement "Daily/Weekly" Calendar Mock
- Commits
- Restricted Diffusion Commit
rP7e4d5f76c046: Refactor logic for getting next/prev month and day on month and day views…
Open Calendar search, search using month view, scroll next/prev months to observe correct navigation, repeat with day view.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Sorry, I reviewed this in the reverse order so my comments are backward
just pretend you are australian
src/view/phui/calendar/PHUICalendarDayView.php | ||
---|---|---|
258–264 | And same here? | |
266–267 | Also no more callsites? | |
266–274 | No more callsites, I think? | |
267 | Maybe call this $next? | |
267–274 | This is just $this->getDateTime(), right? | |
src/view/phui/calendar/PHUICalendarMonthView.php | ||
252 | For that matter, can we simplify this class by adding a getDateTime()? |