Anmeldeschluss

Themen aus älteren Betatests.
Schwartz
Beiträge: 112
Registriert: 26. Dez 2016, 15:19

Anmeldeschluss

Beitragvon Schwartz » 7. Jan 2018, 13:36

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: 1026
Registriert: 12. Jul 2015, 13:21
Wohnort: Austria

Re: Anmeldeschluss

Beitragvon XimeX » 10. Jan 2018, 16:54

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

Zurück zu „Betatests - Archiv“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast