@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix publish time on Phame Posts

Summary: This logic is inverted. Re-vert it.

Test Plan: Write and publish a new post, see publish time.

Reviewers: epriestley, joshuaspence

Reviewed By: joshuaspence

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14464

authored by

Chad Little and committed by
chad
50d158a8 4e4ab36f

+2 -2
+2 -2
src/applications/phame/editor/PhamePostEditor.php
··· 65 65 return $object->setBody($xaction->getNewValue()); 66 66 case PhamePostTransaction::TYPE_VISIBILITY: 67 67 if ($xaction->getNewValue() == PhameConstants::VISIBILITY_DRAFT) { 68 - $object->setDatePublished(time()); 69 - } else { 70 68 $object->setDatePublished(0); 69 + } else { 70 + $object->setDatePublished(time()); 71 71 } 72 72 return $object->setVisibility($xaction->getNewValue()); 73 73 }