Page MenuHomePhabricator

Fix Phame Post creation time
ClosedPublic

Authored by chad on Dec 3 2015, 9:40 PM.
Tags
None
Referenced Files
F18614884: D14656.id35454.diff
Sun, Sep 14, 1:16 PM
F18605763: D14656.diff
Sat, Sep 13, 9:09 PM
F18605762: D14656.diff
Sat, Sep 13, 9:04 PM
F18599245: D14656.diff
Sat, Sep 13, 7:00 AM
F18587480: D14656.id35454.diff
Thu, Sep 11, 9:31 PM
F18506712: D14656.id.diff
Fri, Sep 5, 1:43 AM
F18499410: D14656.diff
Thu, Sep 4, 7:44 PM
F18155864: D14656.id35454.diff
Aug 14 2025, 9:29 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.