×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
J_CALENDAR field stores the wrong date
Christoph Aeschlimann
New Member
Posts: 7
6 года 9 мес. назад - 6 года 9 мес. назад #1747
от Christoph Aeschlimann
Christoph Aeschlimann создал тему: J_CALENDAR field stores the wrong date
Hi
I do have a problem with the J_CALENDAR field. When I enter a date and store the record. One day will be substracted from the date.
Here a sample:
Datum1is entered as 19.02.2018
After saving the Datum1 is set to 2018-02-18
I do have the Problem in Front- and Backend and withy any dateformat I have tested now.
Any ideas?
Thanks Chrigu
I do have a problem with the J_CALENDAR field. When I enter a date and store the record. One day will be substracted from the date.
Here a sample:
Datum1is entered as 19.02.2018
After saving the Datum1 is set to 2018-02-18
I do have the Problem in Front- and Backend and withy any dateformat I have tested now.
Any ideas?
Thanks Chrigu
Последнее редактирование: 6 года 9 мес. назад пользователем Christoph Aeschlimann.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Jamila
Посетитель
6 года 9 мес. назад #1748
от Jamila
Jamila ответил в теме J_CALENDAR field stores the wrong date
Hi Christoph,
I just created a component with J_Calendar and for me it saves the date I select. Have you changed anything in the field configurations?
Best regards,
Jamila Cisse
I just created a component with J_Calendar and for me it saves the date I select. Have you changed anything in the field configurations?
Best regards,
Jamila Cisse
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
new
New Member
Posts: 5
6 года 9 мес. назад #1749
от new
new ответил в теме J_CALENDAR field stores the wrong date
I have simular problem, it saves only todays date, it doesn't save any other
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
new
New Member
Posts: 5
6 года 9 мес. назад #1750
от new
new ответил в теме J_CALENDAR field stores the wrong date
Just use regular DATE from sql, it solved my issues.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Christoph Aeschlimann
New Member
Posts: 7
6 года 9 мес. назад #1752
от Christoph Aeschlimann
Christoph Aeschlimann ответил в теме J_CALENDAR field stores the wrong date
The regular DATE from sql can not be formated as %d.%m.%Y.
The solution is to set the PHP and the Joomla timezone to UTC. This solves the problem. It is not perfect, because we are not in UTC timezone. But it is working for me now.
Chrigu
The solution is to set the PHP and the Joomla timezone to UTC. This solves the problem. It is not perfect, because we are not in UTC timezone. But it is working for me now.
Chrigu
Спасибо сказали: Jamila
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Jamila
Посетитель
6 года 9 мес. назад #1753
от Jamila
Jamila ответил в теме J_CALENDAR field stores the wrong date
Hi Christoph,
I researched this a bit further. This issue is related to the way Joomla stores dates. You can read more about it here: issues.joomla.org/tracker/joomla-cms/5954
Thank you for letting us know how you solved the issue.
Best regards,
Jamila Cisse
I researched this a bit further. This issue is related to the way Joomla stores dates. You can read more about it here: issues.joomla.org/tracker/joomla-cms/5954
Thank you for letting us know how you solved the issue.
Best regards,
Jamila Cisse
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Время создания страницы: 0.060 секунд