Page MenuHomePhabricator

Multi-day events should be correctly calculated for new js layout
ClosedPublic

Authored by lpriestley on May 25 2015, 5:52 PM.
Tags
None
Referenced Files
F18740257: D13008.id31367.diff
Thu, Oct 2, 1:27 AM
F18667738: D13008.id.diff
Sep 24 2025, 12:44 PM
F18659050: D13008.diff
Sep 23 2025, 9:35 AM
F18621978: D13008.diff
Sep 15 2025, 10:05 AM
F18613247: D13008.diff
Sep 14 2025, 10:57 AM
F18587447: D13008.diff
Sep 11 2025, 9:27 PM
F17925930: D13008.id.diff
Jul 30 2025, 12:18 PM
F17907470: D13008.diff
Jul 29 2025, 1:17 PM
Subscribers

Details

Summary

Fixes T8304, Multi-day events should be correctly calculated for new js layout

Test Plan

A day with events starting before midnight of the displayed day should be correctly placed and fitted for day view.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Multi-day events should be correctly calculated for new js layout.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/infrastructure/time/PhabricatorTime.php
75–79

Might be reasonable to just add this to PhabricatorUser, instead, if you want:

$datetime = $viewer->getDateTimeFromEpoch($epoch);
This revision is now accepted and ready to land.May 25 2015, 5:55 PM
src/infrastructure/time/PhabricatorTime.php
75–79

Unless you feel strongly about this, it makes more sense in PhabricatorTime, to me, because it's a time conversion, really, and that belongs in a time class of some sort (from where I sit). I, personally, don't mind passing in an extra param.

This revision was automatically updated to reflect the committed changes.