• Hello,

    Is it possible to extract the datas contained in the |DETAILS| tag in order to use it separatly ? As we already can do with |CHECK_IN|, |CHECK_OUT|, |START_HOUR|, |END_HOUR|…

    In fact, I need to use the french format of date this way : ‘DD month YYYY’ or ‘DD/MM/YYYY’. It displays fine with the |DETAILS| tag but it is generated and served with other datas. In the |CHECK_IN| tag, it is only displayed with the english format and I haven’t been able to manage it to french, so I would like to retrieve the client chosen date in french format in order to display it in emails.

    If it is possible, can you let me know how to do that ?

    Thank you

Viewing 1 replies (of 1 total)
  • Hi guy,

    Maybe it’s a bit late, but to change the format of the date shown with the |CHECK_IN| command, you can edit line 90 of the /booking-system/includes/reservations/class-backend-reservation.php file and add the format that you want.

    For example:
    From this: ‘check_in’ => $reservation[‘check_in’],
    To this: ‘check_in’ => date_format(date_create($reservation[‘check_in’]), ‘j F Y’),

    ‘check_in’ =>

Viewing 1 replies (of 1 total)
  • The topic ‘Date formating’ is closed to new replies.