Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15453645
D18067.id43456.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
911 B
Referenced Files
None
Subscribers
None
D18067.id43456.diff
View Options
diff --git a/src/applications/diffusion/view/DiffusionHistoryListView.php b/src/applications/diffusion/view/DiffusionHistoryListView.php
--- a/src/applications/diffusion/view/DiffusionHistoryListView.php
+++ b/src/applications/diffusion/view/DiffusionHistoryListView.php
@@ -23,15 +23,12 @@
'PhabricatorHarbormasterApplication',
$this->getUser());
- $rows = array();
- $ii = 0;
- $cur_date = 0;
- $header = null;
+ $cur_date = null;
$view = array();
foreach ($this->getHistory() as $history) {
$epoch = $history->getEpoch();
- $new_date = date('Ymd', $history->getEpoch());
- if ($cur_date != $new_date) {
+ $new_date = phabricator_date($history->getEpoch(), $viewer);
+ if ($cur_date !== $new_date) {
$date = ucfirst(
phabricator_relative_date($history->getEpoch(), $viewer));
$header = id(new PHUIHeaderView())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 30, 1:20 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7727088
Default Alt Text
D18067.id43456.diff (911 B)
Attached To
Mode
D18067: Correct an issue where the commit list could group commits by server time
Attached
Detach File
Event Timeline
Log In to Comment