Page MenuHomePhabricator

Time controls should format end date value correctly (not 5:0 PM)
ClosedPublic

Authored by lpriestley on Apr 15 2016, 7:11 PM.
Tags
None
Referenced Files
F15467727: D15725.id37895.diff
Thu, Apr 3, 5:34 PM
F15460686: D15725.id37892.diff
Tue, Apr 1, 1:12 AM
F15451352: D15725.id37893.diff
Fri, Mar 28, 9:39 PM
F15447168: D15725.id37894.diff
Thu, Mar 27, 10:14 PM
F15447010: D15725.id.diff
Thu, Mar 27, 9:20 PM
F15441208: D15725.diff
Wed, Mar 26, 4:55 PM
F15419204: D15725.id37892.diff
Fri, Mar 21, 4:26 AM
F15407664: D15725.id37894.diff
Tue, Mar 18, 6:53 PM
Subscribers

Details

Summary

Fixes T9296

Test Plan

Create an event, change start time to 3PM, end value should update to 4:00 PM, not 4:0 PM

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Time controls should format end date value correctly (not 5:0 PM).
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added reviewers: epriestley, chad.
lpriestley edited edge metadata.

oops, wrong direction

epriestley edited edge metadata.

Run bin/celerity map to clear that test issue.

webroot/rsrc/js/core/behavior-time-typeahead.js
139–142

You shouldn't need the end_minutes === 0 part I think since 0 < 9?

This revision is now accepted and ready to land.Apr 15 2016, 7:15 PM
webroot/rsrc/js/core/behavior-time-typeahead.js
139–142

Haha yeah I got a little too excited about finding the problem

lpriestley edited edge metadata.

celery sticks

This revision was automatically updated to reflect the committed changes.