mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Make adjustments based on the review
Co-authored-by: Faraz Samapoor <f.samapoor@gmail.com> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
This commit is contained in:
parent
d0b20534b9
commit
495683c358
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ class DateTimeFormatter implements \OCP\IDateTimeFormatter {
|
|||
* @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 .= '^';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue