Page MenuHomePhabricator

Calendar day view should notify user if they have navigated away from the query range dates.
ClosedPublic

Authored by lpriestley on May 9 2015, 8:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:59 AM
Unknown Object (File)
Sat, Apr 20, 4:26 AM
Unknown Object (File)
Sat, Apr 20, 4:26 AM
Unknown Object (File)
Sat, Apr 20, 4:26 AM
Unknown Object (File)
Sat, Apr 20, 4:26 AM
Unknown Object (File)
Sat, Apr 20, 4:19 AM
Unknown Object (File)
Sat, Apr 20, 3:40 AM
Unknown Object (File)
Tue, Apr 9, 2:38 PM
Subscribers

Details

Summary

Ref T8104, Calendar day view should notify user if they have navigated away from the query range dates.

Test Plan

Open Calendar day view, choose May 12-13 range, execute query, page through to May 11, day view should show error that day is out of range.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Calendar day view should notify user if they have navigated away from the query range dates..
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
lpriestley edited edge metadata.

Adding "part of day is out of range" errors

epriestley edited edge metadata.
epriestley added inline comments.
src/view/phui/calendar/PHUICalendarDayView.php
346–348

I think you can just:

$header_text = $display_day->format('l, F j, y');

The clone shouldn't be necessary because format() doesn't modify the object.

434–435

Does this still have callers?

This revision is now accepted and ready to land.May 9 2015, 8:52 PM
lpriestley marked 2 inline comments as done.
lpriestley edited edge metadata.

date format cleanup

This revision was automatically updated to reflect the committed changes.