Skip to content

Commit

Permalink
fix: update with new suffix param for date. Remove from comment view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Thulin committed Sep 5, 2024
1 parent 75fba24 commit 7282a2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions source/php/Component/Comment/comment.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
'action' => 'timesince',
'timestamp' => $date,
'labels' => $dateLabels,
'labelsPlural' => $dateLabelsPlural
'labelsPlural' => $dateLabelsPlural,
'timeSinceSuffix' => $date_suffix
])
@enddate

@if ($date_suffix) {{$date_suffix}} @endif

@endtypography
@endif
</div>
Expand Down
2 changes: 1 addition & 1 deletion source/php/Component/Comment/comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"icon": "",
"bubble_color": "dark",
"date": "01/02/2019",
"date_suffix": "",
"date_suffix": "ago",
"dateLabels": [],
"dateLabelsPlural": [],
"componentElement": "div",
Expand Down

0 comments on commit 7282a2a

Please sign in to comment.