Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make adjustments based on the review
Co-authored-by: Faraz Samapoor <[email protected]>
Signed-off-by: Hamid Dehnavi <[email protected]>
  • Loading branch information
shdehnavi and fsamapoor committed Jul 20, 2023
commit 495683c358af560684a9f96cd54ec27744d55146
2 changes: 1 addition & 1 deletion lib/private/DateTimeFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function formatDate($timestamp, $format = 'long', \DateTimeZone $timeZone
* @return string Formatted relative date string
*/
public function formatDateRelativeDay($timestamp, $format = 'long', \DateTimeZone $timeZone = null, \OCP\IL10N $l = null) {
if (!str_ends_with($format, '*') && !str_ends_with($format, '*')) {
if (!str_ends_with($format, '*')) {
$format .= '^';
}

Expand Down