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
F15404689: D13008.id31368.diff
Tue, Mar 18, 8:38 AM
F15377822: D13008.id31367.diff
Thu, Mar 13, 10:54 AM
F15331571: D13008.id31367.diff
Fri, Mar 7, 11:31 AM
F15330140: D13008.id31368.diff
Fri, Mar 7, 7:25 AM
Unknown Object (File)
Sun, Mar 2, 5:17 AM
Unknown Object (File)
Feb 19 2025, 4:58 AM
Unknown Object (File)
Feb 11 2025, 9:15 PM
Unknown Object (File)
Feb 8 2025, 4:52 AM
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.