Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14635078
D18067.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.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
Sat, Jan 11, 9:58 PM (21 h, 13 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6985682
Default Alt Text
D18067.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