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
F14063036: D13008.diff
Mon, Nov 18, 4:13 PM
F14008559: D13008.id31368.diff
Wed, Oct 30, 12:59 AM
F14006437: D13008.diff
Mon, Oct 28, 9:40 AM
F14003510: D13008.id.diff
Sat, Oct 26, 6:57 AM
F14002060: D13008.diff
Fri, Oct 25, 2:41 PM
F13980145: D13008.id31368.diff
Oct 19 2024, 8:44 AM
Unknown Object (File)
Sep 2 2024, 9:29 PM
Unknown Object (File)
Sep 2 2024, 5:00 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.