Page MenuHomePhabricator

Fix Phame Post creation time
ClosedPublic

Authored by chad on Dec 3 2015, 9:40 PM.
Tags
None
Referenced Files
F15509670: D14656.diff
Wed, Apr 16, 3:08 PM
F15496589: D14656.id35454.diff
Sun, Apr 13, 7:18 AM
F15467290: D14656.id35454.diff
Thu, Apr 3, 1:57 PM
F15448999: D14656.id35453.diff
Fri, Mar 28, 8:06 AM
F15444926: D14656.id.diff
Thu, Mar 27, 11:55 AM
F15442722: D14656.id35454.diff
Thu, Mar 27, 12:07 AM
F15439690: D14656.diff
Wed, Mar 26, 8:55 AM
F15423483: D14656.diff
Sat, Mar 22, 3:39 PM
Subscribers

Details

Summary

I spent way to long to arrive at this solution. Ref T9360

Test Plan

Publish a new post, see time, unpublish post, see draft. Start a new post, wait 10 minutes, publish, see "now".

Diff Detail

Repository
rP Phabricator
Branch
pub-time-phame
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 9264
Build 10985: Run Core Tests
Build 10984: arc lint + arc unit

Event Timeline

chad retitled this revision from to Fix Phame Post creation time.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/phame/storage/PhamePost.php
37

For consistency, prefer PhabricatorTime::getNow() (which allows unit tests to force the "current time" to some specific known time).

This revision is now accepted and ready to land.Dec 3 2015, 9:42 PM
chad edited edge metadata.
chad added a task: T9360: Unbeta Phame.
This revision was automatically updated to reflect the committed changes.