Booked Scheduler Community Support
November 12, 2019, 06:42:13 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: 24-hour clock instead of 12  (Read 271 times)
jan
Newbie
*

Karma: 0
Posts: 18


« on: July 10, 2019, 09:11:56 AM »

hello,
i want the time view to be in 24-hour clock. So not 2pm, but 14.00.
i have search for a setting but did not find it.
what is the best way to do this?
thankyou, jan
Logged
ScoJo
Newbie
*

Karma: 0
Posts: 10


« Reply #1 on: July 10, 2019, 02:56:01 PM »

..\www\yourSiteFolder\lang\en_us.php holds a lot of your constants.  The first section deals with DateTime; change your g's or h's to G or H.
Logged
jan
Newbie
*

Karma: 0
Posts: 18


« Reply #2 on: July 12, 2019, 06:36:19 AM »

thankyou Scofo!

dates/time values for dutch/netherlands. i have added this to du_nl.php :

$dates['general_date'] = 'd M Y';
$dates['general_datetime'] = 'd M Y G:i:s';
$dates['short_datetime'] = 'M j y G:i';
$dates['schedule_daily'] = 'l, M j y';
$dates['reservation_email'] = 'd M Y @ G:i (e)';
$dates['res_popup'] = 'D, d M G:i';
$dates['res_popup_time'] = 'G:i';
$dates['short_reservation_date'] = 'M j y G:i';
$dates['dashboard'] = 'D, d M G:i';
$dates['period_time'] = 'G:i';
$dates['timepicker'] = 'G:i';
$dates['mobile_reservation_date'] = 'M j G:i';
$dates['general_date_js'] = 'dd M yy';
$dates['general_time_js'] = 'h:mm tt';
$dates['timepicker_js'] = 'G:i';
$dates['momentjs_datetime'] = 'M D/YY G:mm';
$dates['calendar_time'] = 'H:mm';
$dates['calendar_dates'] = 'd M';
$dates['embedded_date'] = 'D d';
$dates['embedded_time'] = 'g:i';
$dates['embedded_datetime'] = 'n/j g:i';
$dates['report_date'] = '%m/%d';      

best, jan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!