Anmeldeschluss

Topics from older beta tests.
Antworten
Schwartz
Beiträge: 112
Registriert: 26. Dez 2016, 15:19

Anmeldeschluss

Beitrag von Schwartz »

Observed in the playground 07.01.2018

In the event-list ( Termine ) the Anmeldeschluss is only shown with the date, even if there is a time specified (HH:MM )

I think it would be a good thing, if the time was also shown.

Kind regards
Schwartz
XimeX
Developer
Beiträge: 1148
Registriert: 12. Jul 2015, 13:21
Wohnort: Austria

Re: Anmeldeschluss

Beitrag von XimeX »

I found the bug.

Go to Line 474 in dates.php and change:

Code: Alles auswählen

if ($date->getValue('dat_all_day') === 0)
{
     $outputDeadline = $date->getValue('dat_deadline', $gSettingsManager->getString('system_date'). ' ' . $gSettingsManager->getString('system_time'));
}
else
{
    $outputDeadline = $date->getValue('dat_deadline', $gSettingsManager->getString('system_date'));
}
to

Code: Alles auswählen

$outputDeadline = $date->getValue('dat_deadline', $gSettingsManager->getString('system_date'). ' ' . $gSettingsManager->getString('system_time'));
fixed in: https://github.com/Admidio/admidio/comm ... 4aa244ae39
Antworten