Misc/Fixup
* lost changes to timestamps from a8edf6c912
* dates on comment, screenshot, video previews are now formatted correctly
This commit is contained in:
parent
1dc8d50289
commit
e572967c08
1 changed files with 9 additions and 0 deletions
|
|
@ -93,7 +93,10 @@ class UtilityPage extends GenericPage
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
array_walk($data, fn(&$d) => $d['date'] = date(Util::$dateFormatInternal, $d['date']));
|
||||
$this->lvTabs[] = ['commentpreview', ['data' => array_values($data)]];
|
||||
}
|
||||
|
||||
break;
|
||||
case 'latest-screenshots': // rss
|
||||
|
|
@ -121,7 +124,10 @@ class UtilityPage extends GenericPage
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
array_walk($data, fn(&$d) => $d['date'] = date(Util::$dateFormatInternal, $d['date']));
|
||||
$this->lvTabs[] = ['screenshot', ['data' => array_values($data)]];
|
||||
}
|
||||
|
||||
break;
|
||||
case 'latest-videos': // rss
|
||||
|
|
@ -149,7 +155,10 @@ class UtilityPage extends GenericPage
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
array_walk($data, fn(&$d) => $d['date'] = date(Util::$dateFormatInternal, $d['date']));
|
||||
$this->lvTabs[] = ['video', ['data' => array_values($data)]];
|
||||
}
|
||||
|
||||
break;
|
||||
case 'unrated-comments':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue