Depending upon TimeZone, spotlight apps could be in the wrong month

This commit is contained in:
Squidly271 2022-03-02 16:29:50 -05:00
parent 7403a9dc84
commit 62b11ea53f
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -2,7 +2,7 @@
4e55f7483b661af21a25b677179baffe ./CA_notices.page
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
e718d7825dbdc96a17a915079222b098 ./default.cfg
6f3ed9b1f10e3c77baffb34836e9e0a5 ./include/exec.php
6700c9366be9e726739f60b71040625a ./include/exec.php
51a726cbd05fecf5ec30000b29581de7 ./include/helpers.php
d827ebdf8c29aa6a9818df043a37721e ./include/paths.php
532fffdf939594c143e679da02bd841e ./javascript/libraries.js

View File

@ -241,8 +241,10 @@ function DownloadApplicationFeed() {
}
}
$o['Category'] = trim($o['Category']);
if ( $o['RecommendedDate'] )
if ( $o['RecommendedRaw'] ) {
$o['RecommendedDate'] = strtotime($o['RecommendedRaw']);
$o['Category'] .= " spotlight:";
}
if ( $o['Language'] ) {
$o['Category'] = "Language:";