mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 17:11:27 +00:00
fix last clause of smart_date/smart_date_time (closes #41)
This commit is contained in:
@@ -872,7 +872,7 @@
|
||||
} else if (date("Y", $timestamp) == date("Y")) {
|
||||
return date("M d, G:i", $timestamp);
|
||||
} else {
|
||||
return date("Y/m/d G:i");
|
||||
return date("Y/m/d G:i", $timestamp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -882,7 +882,7 @@
|
||||
} else if (date("Y", $timestamp) == date("Y")) {
|
||||
return date("D m", $timestamp);
|
||||
} else {
|
||||
return date("Y/m/d");
|
||||
return date("Y/m/d", $timestamp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user