- Posts: 6
COMMUNITY FORUM
K2 Extrafield Date Issue Multiple Date Format
- Dmitry
- Topic Author
- Offline
- New Member
Less
More
6 years 11 months ago - 6 years 11 months ago #165670
by Dmitry
K2 Extrafield Date Issue Multiple Date Format was created by Dmitry
Hello, someone has encountered the problem of processing the additional Date field. If you select several dates in datepicker, K2 can not process them.
Example: i selekt 2017-12-04; 2017-12-05
I have issue: 0 - DateTime::__construct(): Failed to parse time string (2017-12-04; 2017-12-05) at position 10 (;): Unexpected character
Joomla 3.8
K2 2.8
Example: i selekt 2017-12-04; 2017-12-05
I have issue: 0 - DateTime::__construct(): Failed to parse time string (2017-12-04; 2017-12-05) at position 10 (;): Unexpected character
Joomla 3.8
K2 2.8
Last edit: 6 years 11 months ago by Dmitry.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 11 months ago #165714
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 Extrafield Date Issue Multiple Date Format
Hello Dmitry,
Thank you for reporting this. Can you send me a screenshot of these fields (backeind)?
Thank you for reporting this. Can you send me a screenshot of these fields (backeind)?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Dmitry
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
6 years 11 months ago #165717
by Dmitry
Replied by Dmitry on topic K2 Extrafield Date Issue Multiple Date Format
Please Log in or Create an account to join the conversation.
- Dmitry
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
6 years 11 months ago #165719
by Dmitry
Replied by Dmitry on topic K2 Extrafield Date Issue Multiple Date Format
thanks for the answer, did not have time to thank for the possible help)))
Please Log in or Create an account to join the conversation.
- Dmitry
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
6 years 11 months ago #165731
by Dmitry
Replied by Dmitry on topic K2 Extrafield Date Issue Multiple Date Format
K2 use flatpickr.min.js
if i set:
Flatpickr.defaultConfig = {
mode: "multiple",
position: "auto",
animate: -1 === window.navigator.userAgent.indexOf("MSIE"),
utc: !1,
wrap: !1,
weekNumbers: !1,
allowInput: !1,
clickOpens: !0,
I have this issue
if i set:
Flatpickr.defaultConfig = {
mode: "multiple",
position: "auto",
animate: -1 === window.navigator.userAgent.indexOf("MSIE"),
utc: !1,
wrap: !1,
weekNumbers: !1,
allowInput: !1,
clickOpens: !0,
I have this issue
Please Log in or Create an account to join the conversation.
- Dmitry
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
6 years 11 months ago - 6 years 11 months ago #165816
by Dmitry
Replied by Dmitry on topic K2 Extrafield Date Issue Multiple Date Format
I saw that the error appears because of an unsupported character (;)
updating the flatpickr to the latest version, this error has disappeared and a new:
https://imgur.com/a/OKp6e
updating the flatpickr to the latest version, this error has disappeared and a new:
0 - DateTime::__construct(): Failed to parse time string (2017-12-14, 2017-12-15) at position 12 (2): Double date specification
https://imgur.com/a/OKp6e
Last edit: 6 years 11 months ago by Dmitry.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 11 months ago #165910
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 Extrafield Date Issue Multiple Date Format
Hello Dmitry and thank you for your feedback
You can track this issue's progress here: github.com/getk2/k2/issues/433
You can track this issue's progress here: github.com/getk2/k2/issues/433
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Dmitry
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
6 years 11 months ago #165925
by Dmitry
Replied by Dmitry on topic K2 Extrafield Date Issue Multiple Date Format
Thanks Krikor, i can track this issue. It is very unfortunate that for k2 there is no such addition as for zoo date pro
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 11 months ago #165955
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 Extrafield Date Issue Multiple Date Format
You can add this as a feature request :)
We are always happy to receive feedback from our users.
We are always happy to receive feedback from our users.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.