Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2871128
D25796.1736838245.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
794 B
Referenced Files
None
Subscribers
None
D25796.1736838245.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionCommitController.php b/src/applications/diffusion/controller/DiffusionCommitController.php
--- a/src/applications/diffusion/controller/DiffusionCommitController.php
+++ b/src/applications/diffusion/controller/DiffusionCommitController.php
@@ -624,6 +624,13 @@
$author_view = $commit->newCommitAuthorView($viewer);
if ($author_view) {
$author_date = $data->getAuthorEpoch();
+
+ // Add support to Subversion commits that only have one date,
+ // since in SVN you cannot prepare local commits to push them later.
+ if ($author_date === null) {
+ $author_date = $commit->getEpoch();
+ }
+
$author_date = phabricator_datetime($author_date, $viewer);
$provenance_list->addItem(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 07:04 (4 d, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1109387
Default Alt Text
D25796.1736838245.diff (794 B)
Attached To
Mode
D25796: Subversion: fix empty "Authored on" date on commit pages
Attached
Detach File
Event Timeline
Log In to Comment