J-BusinessDirectory - Stard-time End-time format

Support Forum

 
 

 

The Format of the start and end-time of an event is in the american (12h am pm) format. but i need the europen (24h) format.
Instead of the PHP-date (g:iA) but i need (H:i)

Where can i change this?

In administrator/index.php?option=com_jbusinessdirectory&view=applicationsettings

i can only change the date format, but not the time-format.

 

Thanks for your help

3 replies

Hi,

 

We will add this setting shortly.

Meanwhile you can modify the format on {joomla}/components/com_jbusinessdirectory/assets/utils.php and search for function getTimeText

static function getTimeText($time){
        $result = date('g:iA', strtotime($time));
        
        return $result;
    }

i search the same answer...

Hi Sven, 


We have improved since then and added 2 date formats in the business directory application settings. This setting is available as of the 4.2.4 version. 

 
 
 

4 Item(s)

Show per page