Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

500 - DateTime::__construct() [datetime.--construc
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: 500 - DateTime::__construct() [datetime.--construc

Re: 500 - DateTime::__construct() [datetime.--construc 11 years, 11 months ago #35429

  • mach
  • OFFLINE
  • Posts: 112
Hello,
thank you for patience.
This bug should be fixed in new release(hotfix) 1.5.4.


You can also fix it by Yourself. Use %V instead of %W in date functions.

administrator/com_booking/helpers/booking.php
----
replace
$current->toFormat('%W');
with
$current->toFormat('%V');

line 810 and similar at a few other lines
----

administrator/com_booking/helpers/html.php
---
replace
$week = (int) $date->toFormat('%W');
with
$week = (int) $date->toFormat('%V');
line 662
---
ARTIO Support Team
The topic has been locked.

Re: 500 - DateTime::__construct() [datetime.--construc 11 years, 11 months ago #35430

Hello

the problem has disappeared yet. I appreciate the quick response.

Thanks :)
The topic has been locked.
Přihlášení uživatele Prázdný