The archive functionality is working again

This commit is contained in:
Michael 2020-01-15 04:06:30 +00:00
parent 4a5a74b674
commit 8215c493cf
2 changed files with 23 additions and 2 deletions

View file

@ -54,7 +54,7 @@ function network_init(App $a)
if ($a->argc > 1) {
for ($x = 1; $x < $a->argc; $x ++) {
if (DI::dtFormat()->isYearMonth($a->argv[$x])) {
if (DI::dtFormat()->isYearMonthDay($a->argv[$x])) {
$is_a_date_query = true;
break;
}
@ -440,7 +440,7 @@ function networkThreadedView(App $a, $update, $parent)
if ($a->argc > 1) {
for ($x = 1; $x < $a->argc; $x ++) {
if (DI::dtFormat()->isYearMonth($a->argv[$x])) {
if (DI::dtFormat()->isYearMonthDay($a->argv[$x])) {
if ($datequery) {
$datequery2 = Strings::escapeHtml($a->argv[$x]);
} else {